feat(ST-507): add optional code fields to Product, Pbi and Story
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c45ba1d0c2
commit
33d66bc7c4
3 changed files with 16 additions and 1 deletions
|
|
@ -0,0 +1,9 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "products" ADD COLUMN "code" VARCHAR(30);
|
||||
ALTER TABLE "pbis" ADD COLUMN "code" VARCHAR(30);
|
||||
ALTER TABLE "stories" ADD COLUMN "code" VARCHAR(30);
|
||||
|
||||
-- CreateIndex
|
||||
CREATE UNIQUE INDEX "products_user_id_code_key" ON "products"("user_id", "code");
|
||||
CREATE UNIQUE INDEX "pbis_product_id_code_key" ON "pbis"("product_id", "code");
|
||||
CREATE UNIQUE INDEX "stories_product_id_code_key" ON "stories"("product_id", "code");
|
||||
Loading…
Add table
Add a link
Reference in a new issue