From ea2664577a115311a0c19fc7ada8ba8aabee1432 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Thu, 18 Aug 2022 07:23:28 +0000 Subject: [PATCH] trigger is modified --- migrations/202208051010_api_kgon_synchronization_history/up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/202208051010_api_kgon_synchronization_history/up.sql b/migrations/202208051010_api_kgon_synchronization_history/up.sql index a91e050..541637c 100644 --- a/migrations/202208051010_api_kgon_synchronization_history/up.sql +++ b/migrations/202208051010_api_kgon_synchronization_history/up.sql @@ -13,7 +13,7 @@ CREATE INDEX idx_api_kgon_synchronization_history_item ON api_kgon_synchronizati -- trigger (synchronized_at) CREATE TRIGGER tg_api_kgon_synchronization_history_synchronizations - BEFORE UPDATE + AFTER INSERT ON api_kgon_synchronization_history FOR EACH ROW EXECUTE PROCEDURE update_synchronizations();