- import script with write to file option - fix file names for functions - add generic (non edit tables) for only set date, set uid or combine - fix edit table edit_language insert data - all trigger create remove the drop on exists, as in the flow the trigger will never exists
10 lines
378 B
SQL
10 lines
378 B
SQL
-- DROP TRIGGER IF EXISTS trg_edit_access ON edit_access;
|
|
CREATE TRIGGER trg_edit_access
|
|
BEFORE INSERT OR UPDATE ON edit_access
|
|
FOR EACH ROW EXECUTE PROCEDURE set_edit_generic();
|
|
|
|
-- DROP TRIGGER IF EXISTS trg_set_edit_access_uid ON edit_access;
|
|
CREATE TRIGGER trg_set_edit_access_uid
|
|
BEFORE INSERT OR UPDATE ON edit_access
|
|
FOR EACH ROW EXECUTE PROCEDURE set_edit_access_uid();
|