aboutsummaryrefslogtreecommitdiffstats
path: root/packages/queue/drizzle/meta
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-10-27 23:37:54 +0000
committerMohamed Bassem <me@mbassem.com>2024-10-27 23:40:10 +0000
commita746e9a38e53e4a9114d786c7fb1b3ef4ca67870 (patch)
treebf1d819f6faca01bc7c3db1efe91c0879caaf4a8 /packages/queue/drizzle/meta
parenteb7da996a7c2d617d276f296cac07a6fd5648664 (diff)
downloadkarakeep-a746e9a38e53e4a9114d786c7fb1b3ef4ca67870.tar.zst
deps: Extract the queue implementation into its own repos
Diffstat (limited to 'packages/queue/drizzle/meta')
-rw-r--r--packages/queue/drizzle/meta/0000_snapshot.json130
-rw-r--r--packages/queue/drizzle/meta/_journal.json13
2 files changed, 0 insertions, 143 deletions
diff --git a/packages/queue/drizzle/meta/0000_snapshot.json b/packages/queue/drizzle/meta/0000_snapshot.json
deleted file mode 100644
index 57c7c2f4..00000000
--- a/packages/queue/drizzle/meta/0000_snapshot.json
+++ /dev/null
@@ -1,130 +0,0 @@
-{
- "version": "5",
- "dialect": "sqlite",
- "id": "3094773c-0138-46b2-b617-4b10093b0f53",
- "prevId": "00000000-0000-0000-0000-000000000000",
- "tables": {
- "tasks": {
- "name": "tasks",
- "columns": {
- "id": {
- "name": "id",
- "type": "integer",
- "primaryKey": true,
- "notNull": true,
- "autoincrement": true
- },
- "queue": {
- "name": "queue",
- "type": "text",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false
- },
- "payload": {
- "name": "payload",
- "type": "text",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false
- },
- "createdAt": {
- "name": "createdAt",
- "type": "integer",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false
- },
- "status": {
- "name": "status",
- "type": "text",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false,
- "default": "'pending'"
- },
- "expireAt": {
- "name": "expireAt",
- "type": "integer",
- "primaryKey": false,
- "notNull": false,
- "autoincrement": false
- },
- "allocationId": {
- "name": "allocationId",
- "type": "text",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false
- },
- "numRunsLeft": {
- "name": "numRunsLeft",
- "type": "integer",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false
- },
- "maxNumRuns": {
- "name": "maxNumRuns",
- "type": "integer",
- "primaryKey": false,
- "notNull": true,
- "autoincrement": false
- }
- },
- "indexes": {
- "tasks_queue_idx": {
- "name": "tasks_queue_idx",
- "columns": [
- "queue"
- ],
- "isUnique": false
- },
- "tasks_status_idx": {
- "name": "tasks_status_idx",
- "columns": [
- "status"
- ],
- "isUnique": false
- },
- "tasks_expire_at_idx": {
- "name": "tasks_expire_at_idx",
- "columns": [
- "expireAt"
- ],
- "isUnique": false
- },
- "tasks_num_runs_left_idx": {
- "name": "tasks_num_runs_left_idx",
- "columns": [
- "numRunsLeft"
- ],
- "isUnique": false
- },
- "tasks_max_num_runs_idx": {
- "name": "tasks_max_num_runs_idx",
- "columns": [
- "maxNumRuns"
- ],
- "isUnique": false
- },
- "tasks_allocation_id_idx": {
- "name": "tasks_allocation_id_idx",
- "columns": [
- "allocationId"
- ],
- "isUnique": false
- }
- },
- "foreignKeys": {},
- "compositePrimaryKeys": {},
- "uniqueConstraints": {}
- }
- },
- "enums": {},
- "_meta": {
- "schemas": {},
- "tables": {},
- "columns": {}
- }
-} \ No newline at end of file
diff --git a/packages/queue/drizzle/meta/_journal.json b/packages/queue/drizzle/meta/_journal.json
deleted file mode 100644
index 2b14f895..00000000
--- a/packages/queue/drizzle/meta/_journal.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "version": "5",
- "dialect": "sqlite",
- "entries": [
- {
- "idx": 0,
- "version": "5",
- "when": 1720992922192,
- "tag": "0000_wonderful_talisman",
- "breakpoints": true
- }
- ]
-} \ No newline at end of file