mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-11 22:30:59 +04:30
Initial commit: Meshkee CMS API
NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- Business-scoped customer enable/disable (does not deactivate the global user account)
|
||||
ALTER TABLE business_customers
|
||||
ADD COLUMN IF NOT EXISTS is_enabled BOOLEAN NOT NULL DEFAULT TRUE;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_business_customers_is_enabled
|
||||
ON business_customers (business_id, is_enabled);
|
||||
Reference in New Issue
Block a user