-- Deploy photos:transactions_update_timestamp to pg
-- requires: schema
-- requires: transactions
-- requires: update_timestamp

BEGIN;

SET search_path to photos;

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

COMMIT;
