feat: 合并更新
Build docker and publish / build (20.15.1) (push) Has been cancelled

This commit is contained in:
2025-12-29 04:02:04 -08:00
parent 544cfb5c99
commit 9212efc176
6 changed files with 2011 additions and 1 deletions
@@ -0,0 +1,2 @@
-- Irreversible data migration for safety, or we could delete what we inserted.
-- For now, leaving empty to avoid accidental data loss on down.
@@ -0,0 +1,5 @@
INSERT INTO servers (id, name, country, city, address, sort, created_at, updated_at)
SELECT id, name, country, city, server_addr, sort, created_at, updated_at FROM server;
INSERT INTO nodes (name, tags, address, server_id, protocol, enabled, sort, created_at, updated_at)
SELECT name, tags, server_addr, id, protocol, enable, sort, created_at, updated_at FROM server;