From ae2d6e3dca949d493e6c07567dc5114042414e02 Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Tue, 28 Mar 2023 00:20:14 +0900
Subject: Drop kakeibo.update_timestamp.

---
 deploy/update_timestamp.sql | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

(limited to 'deploy/update_timestamp.sql')

diff --git a/deploy/update_timestamp.sql b/deploy/update_timestamp.sql
index eac2a44..a1308fe 100644
--- a/deploy/update_timestamp.sql
+++ b/deploy/update_timestamp.sql
@@ -10,12 +10,6 @@ CREATE OR REPLACE FUNCTION common.update_timestamp() RETURNS TRIGGER AS $$
   END;
 $$ LANGUAGE plpgsql;
 
-CREATE OR REPLACE FUNCTION kakeibo.update_timestamp() RETURNS TRIGGER AS $$
-  BEGIN
-    NEW.updated_at = NOW();
-    RETURN NEW;
-  END;
-$$ LANGUAGE plpgsql;
-
+DROP FUNCTION kakeibo.update_timestamp();
 
 COMMIT;
-- 
cgit v1.2.3

