Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions schema/schema.sql
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
COMMENT ON SCHEMA "public" IS 'standard public schema';

CREATE TABLE "public"."audit" (
"id" serial,
"id" serial PRIMARY KEY,
"operation" text NOT NULL,
"query" text,
"user_name" text NOT NULL,
"changed_at" timestamp(6) with time zone DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "audit_pkey" PRIMARY KEY (id)
"changed_at" timestamp(6) with time zone DEFAULT CURRENT_TIMESTAMP
);

CREATE INDEX "idx_audit_changed_at" ON ONLY "public"."audit" (changed_at);
Expand Down