Migrate mqueue

This commit is contained in:
Zoe Roux 2025-03-17 11:38:54 +01:00
parent f11e1b56db
commit 0a729ccf75
No known key found for this signature in database
3 changed files with 1571 additions and 0 deletions

View File

@ -0,0 +1,9 @@
CREATE TABLE "kyoo"."mqueue" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"kind" varchar(255) NOT NULL,
"message" jsonb NOT NULL,
"attempt" integer DEFAULT 0 NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL
);
--> statement-breakpoint
CREATE INDEX "mqueue_created" ON "kyoo"."mqueue" USING btree ("created_at");

File diff suppressed because it is too large Load Diff

View File

@ -113,6 +113,13 @@
"when": 1741623934941,
"tag": "0015_news",
"breakpoints": true
},
{
"idx": 16,
"version": "7",
"when": 1742205790510,
"tag": "0016_mqueue",
"breakpoints": true
}
]
}