Branching Drift Caused by Storage Triggers
Hello,
I am trying to create a persistent staging branch that is in sync with production. The process I used was:
Failing with error:
I've attached a screenshot of the
Thanks!
I am trying to create a persistent staging branch that is in sync with production. The process I used was:
- Create branch
off ofdevproduction - Run a data dump and run the dump script in
SQL editordev - Run a query in
productionto get all triggers so that I can manually copy them over (they don't seem to come over thru the dump)
CREATE TRIGGER prefixes_delete_hierarchy AFTER DELETE ON storage.prefixes FOR EACH ROW EXECUTE FUNCTION storage.delete_prefix_hierarchy_trigger();Failing with error:
ERROR: 42P01: relation "storage.prefixes" does not existI've attached a screenshot of the
production storage triggers. I do not remember creating these, were they a byproduct of some setting? Can I safely delete them in production, or copy them over to develop?Thanks!
