From 7e08464b2a42048ebb5128bec5731719cf8bd1db Mon Sep 17 00:00:00 2001
From: rtkay123 <dev@kanjala.com>
Date: Sun, 29 Mar 2026 15:06:30 +0200
Subject: feat: create transaction schema

---
 migrations/20260329120607_functions.sql | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 migrations/20260329120607_functions.sql

(limited to 'migrations/20260329120607_functions.sql')

diff --git a/migrations/20260329120607_functions.sql b/migrations/20260329120607_functions.sql
new file mode 100644
index 0000000..f662c25
--- /dev/null
+++ b/migrations/20260329120607_functions.sql
@@ -0,0 +1,7 @@
+create or replace function update_updated_at_column()
+returns trigger as $$
+begin
+    new.updated_at = now();
+    return new;
+end;
+$$ language 'plpgsql';
-- 
cgit v1.2.3

