2019-11-06 12:36:38 +08:00
|
|
|
ALTER TABLE `v2_server`
|
|
|
|
ADD `last_check_at` int(11) NULL AFTER `rate`;
|
|
|
|
ALTER TABLE `v2_server`
|
|
|
|
ADD `network` varchar(11) COLLATE 'utf8_general_ci' NOT NULL AFTER `rate`;
|
|
|
|
ALTER TABLE `v2_server`
|
2019-11-18 18:19:28 +08:00
|
|
|
ADD `settings` text COLLATE 'utf8_general_ci' NULL AFTER `network`;
|
2019-11-23 22:25:06 +08:00
|
|
|
/* 2019-11-18 */
|
2019-11-18 18:19:28 +08:00
|
|
|
ALTER TABLE `v2_server`
|
2019-11-23 22:25:06 +08:00
|
|
|
ADD `show` tinyint(1) NOT NULL DEFAULT '0' AFTER `settings`;
|
|
|
|
/* 2019-11-23 */
|
|
|
|
ALTER TABLE `v2_user`
|
2019-11-25 22:12:53 +08:00
|
|
|
CHANGE `enable` `enable` tinyint(1) NOT NULL DEFAULT '1' AFTER `transfer_enable`;
|
|
|
|
/* 2019-11-25 */
|
|
|
|
ALTER TABLE `v2_order`
|
2019-11-27 19:55:53 +08:00
|
|
|
ADD `type` int(11) NOT NULL COMMENT '1新购2续费3升级' AFTER `plan_id`;
|
|
|
|
/* 2019-11-27 */
|
|
|
|
ALTER TABLE `v2_user`
|
2019-11-29 01:16:15 +08:00
|
|
|
ADD `commission_rate` int(11) NULL AFTER `password`;
|
|
|
|
ALTER TABLE `v2_user`
|
2019-12-12 13:45:46 +08:00
|
|
|
ADD `balance` int(11) NOT NULL DEFAULT '0' AFTER `password`;
|
|
|
|
|
|
|
|
CREATE TABLE `v2_notice` (
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
|
|
`title` varchar(255) NOT NULL,
|
|
|
|
`content` text NOT NULL,
|
|
|
|
`created_at` int(11) NOT NULL,
|
|
|
|
`updated_at` int(11) NOT NULL
|
|
|
|
);
|