feat: add createdAt to integrity report table

refactor: rename checksum_fail to checksum_mismatched
This commit is contained in:
izzy
2025-11-27 15:13:00 +00:00
parent 1e941f3f88
commit 929ad529f4
3 changed files with 6 additions and 8 deletions
@@ -5,6 +5,7 @@ export async function up(db: Kysely<any>): Promise<void> {
"id" uuid NOT NULL DEFAULT uuid_generate_v4(),
"type" character varying NOT NULL,
"path" character varying NOT NULL,
"createdAt" timestamp with time zone NOT NULL DEFAULT now(),
CONSTRAINT "integrity_report_type_path_uq" UNIQUE ("type", "path"),
CONSTRAINT "integrity_report_pkey" PRIMARY KEY ("id")
);`.execute(db);