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();