-- Deploy kakeibo:transactions_update_timestamp to pg
-- requires: transactions
-- requires: update_timestamp

BEGIN;

CREATE OR REPLACE TRIGGER update_timestamp
  BEFORE UPDATE ON kakeibo.transactions
  FOR EACH ROW
    EXECUTE FUNCTION kakeibo.update_timestamp();

COMMIT;
