From fd7d0c95b89577284c5a1a03f537e74fbd46a6a0 Mon Sep 17 00:00:00 2001 From: Furrium Network Date: Sun, 9 Aug 2026 18:59:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=A7=81=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schema.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schema.sql b/schema.sql index f2a613e..3030cd8 100644 --- a/schema.sql +++ b/schema.sql @@ -85,6 +85,9 @@ END; $$ LANGUAGE plpgsql; DROP TRIGGER IF EXISTS update_posts_updated_at ON posts; + +cd /root/forumlify +nano schema.sql CREATE TRIGGER update_posts_updated_at BEFORE UPDATE ON posts FOR EACH ROW EXECUTE FUNCTION update_updated_at();