12 lines
346 B
SQL
12 lines
346 B
SQL
CREATE TABLE IF NOT EXISTS "ChangelogEntry" (
|
|
"id" serial PRIMARY KEY,
|
|
"createdAt" timestamp DEFAULT now() NOT NULL,
|
|
"updatedAt" timestamp DEFAULT now() NOT NULL,
|
|
"version" text NOT NULL,
|
|
"title" text NOT NULL,
|
|
"content" text NOT NULL,
|
|
"published" boolean DEFAULT false NOT NULL,
|
|
"publishedAt" timestamp,
|
|
"createdBy" integer
|
|
);
|