-- Deploy kakeibo:articles_update_timestamp to pg
-- requires: articles
-- requires: update_timestamp

BEGIN;

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

COMMIT;
