feat: add seller saved views
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 01:36:15 -04:00
parent ec322df25c
commit ffd239d27c
19 changed files with 364 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
CREATE TABLE "saved_views" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid(),
"seller_id" uuid NOT NULL REFERENCES "sellers"("id") ON DELETE CASCADE,
"name" text NOT NULL,
"filters" jsonb DEFAULT '{}'::jsonb NOT NULL,
"created_at" timestamptz DEFAULT now() NOT NULL,
"updated_at" timestamptz DEFAULT now() NOT NULL
);
CREATE UNIQUE INDEX "saved_views_seller_name_unique"
ON "saved_views" ("seller_id", "name");
+7
View File
@@ -176,6 +176,13 @@
"when": 1790668800000,
"tag": "0024_inventory_export_jobs",
"breakpoints": true
},
{
"idx": 25,
"version": "7",
"when": 1790755200000,
"tag": "0025_saved_views",
"breakpoints": true
}
]
}