Files
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
217 B
SQL

-- Remove redundant name_en (use name for English/default name)
UPDATE businesses
SET name = COALESCE(name, name_en)
WHERE name IS NULL AND name_en IS NOT NULL;
ALTER TABLE businesses DROP COLUMN IF EXISTS name_en;