-- Deploy diary:articles_update_updated_at to pg -- requires: schema -- requires: articles -- requires: update_updated_at BEGIN; SET search_path to diary; CREATE OR REPLACE TRIGGER update_updated_at BEFORE UPDATE ON articles FOR EACH ROW EXECUTE FUNCTION update_updated_at(); COMMIT;