From a885ca30f1d0c0be1bfc25363536b61b6fe012d6 Mon Sep 17 00:00:00 2001 From: p0ny Date: Wed, 5 Nov 2025 14:25:15 +0800 Subject: [PATCH] chore: modify column changed_at --- schema/schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/schema.sql b/schema/schema.sql index d06b817..6aba111 100644 --- a/schema/schema.sql +++ b/schema/schema.sql @@ -5,7 +5,7 @@ CREATE TABLE "public"."audit" ( "operation" text NOT NULL, "query" text, "user_name" text NOT NULL, - "changed_at" timestamp(6) with time zone DEFAULT CURRENT_TIMESTAMP, + "changed_at" timestamptz DEFAULT now(), CONSTRAINT "audit_pkey" PRIMARY KEY (id) );