-- 迁移TG账号数据
INSERT IGNORE INTO tg_account SELECT * FROM c_tg_account;

-- 迁移名字数据
INSERT IGNORE INTO tg_firstname SELECT * FROM c_firstname;
INSERT IGNORE INTO tg_lastname SELECT * FROM c_lastname;

-- 迁移群组数据
INSERT IGNORE INTO tg_group SELECT * FROM c_group;

-- 迁移消息数据
INSERT IGNORE INTO tg_message SELECT * FROM c_message;

-- 迁移配置数据
INSERT IGNORE INTO tg_config SELECT * FROM c_config;

-- 迁移其他重要数据
INSERT IGNORE INTO tg_script SELECT * FROM c_script;
INSERT IGNORE INTO tg_script_article SELECT * FROM c_script_article;
INSERT IGNORE INTO tg_script_project SELECT * FROM c_script_project;
INSERT IGNORE INTO tg_script_task SELECT * FROM c_script_task;