Various fixes (#186)

* fix: #181

* fix: use taskHandler as source of truth for imports

* fix: task formatting

* fix: zip downloads

* feat: re-enable import version button on delete + lint
This commit is contained in:
DecDuck 2025-08-15 22:57:56 +10:00 committed by GitHub
parent 5f9b73b228
commit 519057108a
14 changed files with 180 additions and 185 deletions

View file

@ -0,0 +1,15 @@
/*
Warnings:
- The primary key for the `Task` table will be changed. If it partially fails, the table could be left without primary key constraint.
*/
-- DropIndex
DROP INDEX "GameTag_name_idx";
-- AlterTable
ALTER TABLE "Task" DROP CONSTRAINT "Task_pkey",
ADD CONSTRAINT "Task_pkey" PRIMARY KEY ("id", "started");
-- CreateIndex
CREATE INDEX "GameTag_name_idx" ON "GameTag" USING GIST ("name" gist_trgm_ops(siglen=32));

View file

@ -1,5 +1,5 @@
model Task {
id String @id
id String
taskGroup String
name String
@ -12,4 +12,6 @@ model Task {
log String[]
acls String[]
@@id([id, started])
}