From a08c3be9fab5d8dd0e050318e8027c25e74a2433 Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Sun, 17 Mar 2024 17:37:02 +0900
Subject: Use VARCHAR type for short string column.

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

