update: sql

This commit is contained in:
tokumeikoi 2022-04-09 16:08:36 +08:00
parent 8fdd755107
commit 6b1f3a73c4
2 changed files with 2 additions and 6 deletions

View File

@ -364,8 +364,8 @@ CREATE TABLE `v2_user` (
`uuid` varchar(36) NOT NULL, `uuid` varchar(36) NOT NULL,
`group_id` int(11) DEFAULT NULL, `group_id` int(11) DEFAULT NULL,
`plan_id` int(11) DEFAULT NULL, `plan_id` int(11) DEFAULT NULL,
`remind_expire` tinyint(4) DEFAULT '0', `remind_expire` tinyint(4) DEFAULT '1',
`remind_traffic` tinyint(4) DEFAULT '0', `remind_traffic` tinyint(4) DEFAULT '1',
`token` char(32) NOT NULL, `token` char(32) NOT NULL,
`remarks` text, `remarks` text,
`expired_at` bigint(20) DEFAULT '0', `expired_at` bigint(20) DEFAULT '0',

View File

@ -459,10 +459,6 @@ ALTER TABLE `v2_plan`
ALTER TABLE `v2_server` ALTER TABLE `v2_server`
RENAME TO `v2_server_v2ray`; RENAME TO `v2_server_v2ray`;
ALTER TABLE `v2_user`
CHANGE `remind_expire` `remind_expire` tinyint(4) NULL DEFAULT '0' AFTER `plan_id`,
CHANGE `remind_traffic` `remind_traffic` tinyint(4) NULL DEFAULT '0' AFTER `remind_expire`;
ALTER TABLE `v2_payment` ALTER TABLE `v2_payment`
ADD `icon` varchar(255) COLLATE 'utf8mb4_general_ci' NULL AFTER `name`; ADD `icon` varchar(255) COLLATE 'utf8mb4_general_ci' NULL AFTER `name`;