Files
craft2prints/prisma/migrations/20260718092854_add_product_dimensions/migration.sql
T
Andymick 4d9cfa4023 Add product dimensions and downloadable design specification sheet
- Add printAreaWidthMm and printAreaHeightMm fields to Product model
- Create API endpoint to generate design specs with CM measurements
- Add download button to order detail page
- Specs include design elements with positions/sizes in centimeters
2026-07-18 10:29:37 +01:00

4 lines
165 B
SQL

-- AlterTable
ALTER TABLE "Product" ADD COLUMN "printAreaHeightMm" INTEGER NOT NULL DEFAULT 280,
ADD COLUMN "printAreaWidthMm" INTEGER NOT NULL DEFAULT 200;