diff --git a/sql/game2006db_migrate_230815_02.sql b/sql/game2006db_migrate_230815_02.sql index c0af5e82..b4e287f4 100644 --- a/sql/game2006db_migrate_230815_02.sql +++ b/sql/game2006db_migrate_230815_02.sql @@ -4,6 +4,9 @@ alter table t_first_topup add column `account_id` varchar(60) NOT NULL DEFAULT ' alter table t_first_topup add column `modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间'; alter table t_first_topup drop index address; alter table t_first_topup add UNIQUE KEY `account_id` (`account_id`); +UPDATE t_first_topup a JOIN +t_user b ON a.address=b.address +SET a.account_id =b.account_id; insert into version (version) values(2023081502);