diff --git a/database/update.sql b/database/update.sql index 7d9d9dd4..167d9950 100644 --- a/database/update.sql +++ b/database/update.sql @@ -204,9 +204,9 @@ ADD `balance_amount` int(11) NULL COMMENT '使用余额' AFTER `refund_amount`; ALTER TABLE `v2_server` CHANGE `network` `network` text COLLATE 'utf8_general_ci' NOT NULL AFTER `rate`, ADD `dnsSettings` text COLLATE 'utf8_general_ci' NULL AFTER `ruleSettings`; - +-- 1.3 ALTER TABLE `v2_order` -CHANGE `surplus_order_ids` `surplus_order_ids` varchar(255) NULL COMMENT '折抵订单' AFTER `balance_amount`; +ADD `surplus_order_ids` varchar(255) NULL COMMENT '折抵订单' AFTER `balance_amount`; ALTER TABLE `v2_order` CHANGE `status` `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0待支付1开通中2已取消3已完成4已折抵' AFTER `surplus_order_ids`;