From 63eaf4837fef5ea76a9249a752041d58e51eba0f Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Sun, 17 Mar 2024 17:33:46 +0900
Subject: Rename column name from `id` to `<name>_id`.

---
 deploy/article_taggings.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'deploy/article_taggings.sql')

diff --git a/deploy/article_taggings.sql b/deploy/article_taggings.sql
index 3985543..0719c8f 100644
--- a/deploy/article_taggings.sql
+++ b/deploy/article_taggings.sql
@@ -8,8 +8,8 @@ BEGIN;
 SET search_path to diary;
 
 CREATE TABLE article_taggings(
-  article_id UUID REFERENCES articles(id),
-  tag_id INT REFERENCES tags(id),
+  article_id UUID REFERENCES articles,
+  tag_id INT REFERENCES tags,
   PRIMARY KEY(article_id, tag_id)
 );
 
-- 
cgit v1.2.3

