mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-11 22:30:59 +04:30
Ship legacy migrate APIs, portfolio/blog old-id schema, and admin migrate/purge flows.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
7244b70e90
commit
4598add88c
@@ -0,0 +1,8 @@
|
||||
-- Link Meshkee businesses to legacy WillaEngine business ids for selective migration
|
||||
|
||||
ALTER TABLE businesses
|
||||
ADD COLUMN IF NOT EXISTS old_business_id BIGINT;
|
||||
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS businesses_old_business_id_unique
|
||||
ON businesses (old_business_id)
|
||||
WHERE old_business_id IS NOT NULL;
|
||||
Reference in New Issue
Block a user