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.
2 parents a49c069 + 88858c6 commit 1837ffbCopy full SHA for 1837ffb
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