diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2024-03-17 17:37:02 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2024-03-17 17:37:02 +0900 |
commit | a08c3be9fab5d8dd0e050318e8027c25e74a2433 (patch) | |
tree | 0f5233d237b8a44deaaab18c2c913fc1ebf3c942 /deploy | |
parent | 63eaf4837fef5ea76a9249a752041d58e51eba0f (diff) |
Use VARCHAR type for short string column.
Diffstat (limited to 'deploy')
-rw-r--r-- | deploy/articles.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/articles.sql b/deploy/articles.sql index 62505ce..72f4a74 100644 --- a/deploy/articles.sql +++ b/deploy/articles.sql @@ -9,7 +9,7 @@ CREATE TABLE articles( article_id UUID PRIMARY KEY, timestamp TIMESTAMPTZ NOT NULL, hash VARCHAR(64) NOT NULL, - title TEXT NOT NULL, + title VARCHAR NOT NULL, body TEXT NOT NULL ); |