Files
backend/database/migrations/023_orders_process_step.sql
T
Ali Reza bb59d5e9ba Initial commit: Meshkee CMS API
NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
2026-07-21 17:52:36 +03:30

8 lines
292 B
SQL

-- Meshkee CMS — order fulfillment process step (from business store settings)
ALTER TABLE orders
ADD COLUMN IF NOT EXISTS process_step_id VARCHAR(64) NOT NULL DEFAULT 'processing';
CREATE INDEX IF NOT EXISTS idx_orders_business_process_step
ON orders (business_id, process_step_id);