Delete resource/migrate.sql (#3070)

the new cdb schema is being discussed in https://github.com/Fluorohydride/ygopro/pull/3044

and this *middle* format is nowhere used.

This file may be reintroduced in that PR.
This commit is contained in:
Nanahira
2026-04-30 08:50:39 +08:00
committed by GitHub
parent 5e1d76347f
commit 4b1bbc5eb0
-20
View File
@@ -1,20 +0,0 @@
--step 1: add new column
ALTER TABLE datas ADD COLUMN rule_code INTEGER DEFAULT 0;
--step 2: update "treated as X" cards
UPDATE datas
SET rule_code = alias, alias = 0
WHERE id IN (
SELECT id
FROM datas
WHERE NOT (type & 0x4000) AND alias != 0 AND abs(id - alias) >= 20
);
--step 3: update special cards
UPDATE datas
SET rule_code = alias, alias = 0
WHERE id = 5405695;
UPDATE datas
SET rule_code = 13331639
WHERE alias = 6218704;