From 4414f92a106eed45901b949b99ffa67a88a89895 Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Wed, 13 Mar 2024 01:10:00 +0900
Subject: Remove updated_at and created_at columns

---
 deploy/tags.sql | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'deploy/tags.sql')

diff --git a/deploy/tags.sql b/deploy/tags.sql
index 8186248..d66bca5 100644
--- a/deploy/tags.sql
+++ b/deploy/tags.sql
@@ -7,9 +7,7 @@ SET search_path to diary;
 
 CREATE TABLE tags(
   id UUID PRIMARY KEY,
-  name TEXT UNIQUE NOT NULL,
-  created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
-  updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
+  name TEXT UNIQUE NOT NULL
 );
 
 COMMIT;
-- 
cgit v1.2.3

