diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2024-03-17 17:33:46 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2024-03-17 17:34:25 +0900 |
commit | 63eaf4837fef5ea76a9249a752041d58e51eba0f (patch) | |
tree | b75369c8c4fe5251ae665ad21924888e90347cbc /deploy/articles.sql | |
parent | 1cbd623da4d1eb4f6b44f9b1d72978dd7cdbd412 (diff) |
Rename column name from `id` to `<name>_id`.
Diffstat (limited to 'deploy/articles.sql')
-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 6b2ca49..62505ce 100644 --- a/deploy/articles.sql +++ b/deploy/articles.sql @@ -6,7 +6,7 @@ BEGIN; SET search_path to diary; CREATE TABLE articles( - id UUID PRIMARY KEY, + article_id UUID PRIMARY KEY, timestamp TIMESTAMPTZ NOT NULL, hash VARCHAR(64) NOT NULL, title TEXT NOT NULL, |