mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-11 22:30:59 +04:30
NestJS backend with Prisma, Docker Compose for Postgres/Redis, and deploy docs for the production VM.
8 lines
217 B
SQL
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;
|