mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Create table for tracking changes across tables and operations
This commit is contained in:
@@ -44,6 +44,11 @@ CREATE TRIGGER update_article_last_modified
|
||||
FOR EACH ROW
|
||||
EXECUTE FUNCTION internal.update_last_modified ();
|
||||
|
||||
CREATE TRIGGER update_docs_category_modified
|
||||
BEFORE INSERT OR UPDATE OR DELETE ON internal.docs_category
|
||||
FOR EACH ROW
|
||||
EXECUTE FUNCTION internal.update_last_modified ();
|
||||
|
||||
CREATE TRIGGER update_footer_last_modified
|
||||
BEFORE UPDATE ON internal.footer
|
||||
FOR EACH ROW
|
||||
@@ -70,6 +75,8 @@ DROP TRIGGER update_home_last_modified ON internal.home;
|
||||
|
||||
DROP TRIGGER update_article_last_modified ON internal.article;
|
||||
|
||||
DROP TRIGGER update_docs_category_modified ON internal.docs_category;
|
||||
|
||||
DROP TRIGGER update_footer_last_modified ON internal.footer;
|
||||
|
||||
DROP TRIGGER update_legal_information_last_modified ON internal.legal_information;
|
||||
|
||||
Reference in New Issue
Block a user