mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: support plan utf8mb4
This commit is contained in:
parent
5e7f782583
commit
2426d88339
@ -162,11 +162,11 @@ CREATE TABLE `v2_plan` (
|
|||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`group_id` int(11) NOT NULL,
|
`group_id` int(11) NOT NULL,
|
||||||
`transfer_enable` int(11) NOT NULL,
|
`transfer_enable` int(11) NOT NULL,
|
||||||
`name` varchar(255) NOT NULL,
|
`name` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
|
||||||
`show` tinyint(1) NOT NULL DEFAULT '0',
|
`show` tinyint(1) NOT NULL DEFAULT '0',
|
||||||
`sort` int(11) DEFAULT NULL,
|
`sort` int(11) DEFAULT NULL,
|
||||||
`renew` tinyint(1) NOT NULL DEFAULT '1',
|
`renew` tinyint(1) NOT NULL DEFAULT '1',
|
||||||
`content` text,
|
`content` text CHARACTER SET utf8mb4,
|
||||||
`month_price` int(11) DEFAULT NULL,
|
`month_price` int(11) DEFAULT NULL,
|
||||||
`quarter_price` int(11) DEFAULT NULL,
|
`quarter_price` int(11) DEFAULT NULL,
|
||||||
`half_year_price` int(11) DEFAULT NULL,
|
`half_year_price` int(11) DEFAULT NULL,
|
||||||
@ -378,4 +378,4 @@ CREATE TABLE `v2_user` (
|
|||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
-- 2022-05-10 17:13:24
|
-- 2022-05-28 18:13:17
|
||||||
|
@ -573,3 +573,7 @@ DROP `last_reply_user_id`;
|
|||||||
ALTER TABLE `v2_server_shadowsocks`
|
ALTER TABLE `v2_server_shadowsocks`
|
||||||
ADD `obfs` char(11) NULL AFTER `cipher`,
|
ADD `obfs` char(11) NULL AFTER `cipher`,
|
||||||
ADD `obfs_settings` varchar(255) NULL AFTER `obfs`;
|
ADD `obfs_settings` varchar(255) NULL AFTER `obfs`;
|
||||||
|
|
||||||
|
ALTER TABLE `v2_plan`
|
||||||
|
CHANGE `name` `name` varchar(255) COLLATE 'utf8mb4_general_ci' NOT NULL AFTER `transfer_enable`,
|
||||||
|
CHANGE `content` `content` text COLLATE 'utf8mb4_general_ci' NULL AFTER `renew`;
|
||||||
|
Loading…
Reference in New Issue
Block a user