We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49c069 commit 88858c6Copy full SHA for 88858c6
schema/schema.sql
@@ -1,12 +1,11 @@
1
COMMENT ON SCHEMA "public" IS 'standard public schema';
2
3
CREATE TABLE "public"."audit" (
4
- "id" serial,
+ "id" serial PRIMARY KEY,
5
"operation" text NOT NULL,
6
"query" text,
7
"user_name" text NOT NULL,
8
- "changed_at" timestamp(6) with time zone DEFAULT CURRENT_TIMESTAMP,
9
- CONSTRAINT "audit_pkey" PRIMARY KEY (id)
+ "changed_at" timestamp(6) with time zone DEFAULT CURRENT_TIMESTAMP
10
);
11
12
CREATE INDEX "idx_audit_changed_at" ON ONLY "public"."audit" (changed_at);
0 commit comments