This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE "inventory_export_jobs" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||
"seller_id" uuid NOT NULL REFERENCES "sellers"("id") ON DELETE CASCADE,
|
||||
"format" text NOT NULL,
|
||||
"status" text DEFAULT 'PENDING' NOT NULL,
|
||||
"output" jsonb,
|
||||
"error" text,
|
||||
"created_at" timestamptz DEFAULT now() NOT NULL,
|
||||
"updated_at" timestamptz DEFAULT now() NOT NULL
|
||||
);
|
||||
|
||||
CREATE INDEX "inventory_export_jobs_status_created_at_index"
|
||||
ON "inventory_export_jobs" ("status", "created_at");
|
||||
@@ -169,6 +169,13 @@
|
||||
"when": 1790582400000,
|
||||
"tag": "0023_seller_settings",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 24,
|
||||
"version": "7",
|
||||
"when": 1790668800000,
|
||||
"tag": "0024_inventory_export_jobs",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user