From 63eaf4837fef5ea76a9249a752041d58e51eba0f Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sun, 17 Mar 2024 17:33:46 +0900 Subject: Rename column name from `id` to `_id`. --- deploy/tags.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy/tags.sql') diff --git a/deploy/tags.sql b/deploy/tags.sql index 3bee8ed..82a550a 100644 --- a/deploy/tags.sql +++ b/deploy/tags.sql @@ -6,7 +6,7 @@ BEGIN; SET search_path to diary; CREATE TABLE tags( - id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY, + tag_id INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY, name varchar UNIQUE NOT NULL ); -- cgit v1.2.3