Actually save things! Yay!

This commit is contained in:
2023-03-19 22:59:11 +01:00
parent 703c133149
commit 3f2f4fa733
9 changed files with 926 additions and 44 deletions

View File

@@ -0,0 +1,7 @@
CREATE OR REPLACE FUNCTION set_updated_timestamp()
RETURNS TRIGGER AS $$
BEGIN
NEW.updated_at = now();
RETURN NEW;
END;
$$ language 'plpgsql';