diff options
Diffstat (limited to 'packages/queue/drizzle/meta/0000_snapshot.json')
| -rw-r--r-- | packages/queue/drizzle/meta/0000_snapshot.json | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/packages/queue/drizzle/meta/0000_snapshot.json b/packages/queue/drizzle/meta/0000_snapshot.json new file mode 100644 index 00000000..57c7c2f4 --- /dev/null +++ b/packages/queue/drizzle/meta/0000_snapshot.json @@ -0,0 +1,130 @@ +{ + "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 |
