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/articles.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'deploy/articles.sql')

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,
-- 
cgit v1.2.3

