mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Migrate mqueue
This commit is contained in:
parent
f11e1b56db
commit
0a729ccf75
9
api/drizzle/0016_mqueue.sql
Normal file
9
api/drizzle/0016_mqueue.sql
Normal 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");
|
1555
api/drizzle/meta/0016_snapshot.json
Normal file
1555
api/drizzle/meta/0016_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -113,6 +113,13 @@
|
||||
"when": 1741623934941,
|
||||
"tag": "0015_news",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 16,
|
||||
"version": "7",
|
||||
"when": 1742205790510,
|
||||
"tag": "0016_mqueue",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user