Expand special orders with form details, codes, and SMS copy.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
63253f1877
commit
3cc4c89828
@@ -0,0 +1,17 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "SpecialOrder" ADD COLUMN "neededDate" TIMESTAMP(3),
|
||||
ADD COLUMN "receiveTime" TEXT NOT NULL DEFAULT '',
|
||||
ADD COLUMN "servings" INTEGER,
|
||||
ADD COLUMN "cakeFlavor" TEXT NOT NULL DEFAULT '',
|
||||
ADD COLUMN "filling" TEXT NOT NULL DEFAULT '',
|
||||
ADD COLUMN "cakeText" TEXT NOT NULL DEFAULT '',
|
||||
ADD COLUMN "decorations" TEXT NOT NULL DEFAULT '',
|
||||
ADD COLUMN "deliveryType" "DeliveryType",
|
||||
ADD COLUMN "branchId" TEXT,
|
||||
ADD COLUMN "branchName" TEXT NOT NULL DEFAULT '';
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "SpecialOrder_branchId_idx" ON "SpecialOrder"("branchId");
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "SpecialOrder" ADD CONSTRAINT "SpecialOrder_branchId_fkey" FOREIGN KEY ("branchId") REFERENCES "Branch"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
||||
Reference in New Issue
Block a user