From 0b3cf4a2a4b15e02842370eef33bc9780c57f2f5 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 Dec 2019 18:01:19 +0800 Subject: [PATCH] update --- update.sql | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/update.sql b/update.sql index 89847b40..93b1c325 100644 --- a/update.sql +++ b/update.sql @@ -70,4 +70,10 @@ ALTER TABLE `v2_server` DROP `last_check_at`; ALTER TABLE `v2_server` -CHANGE `name` `name` varchar(255) COLLATE 'utf8mb4_general_ci' NOT NULL AFTER `group_id`; \ No newline at end of file +CHANGE `name` `name` varchar(255) COLLATE 'utf8mb4_general_ci' NOT NULL AFTER `group_id`; + +ALTER TABLE `v2_plan` +CHANGE `month_price` `month_price` int(11) NULL DEFAULT '0' AFTER `content`, +CHANGE `quarter_price` `quarter_price` int(11) NULL DEFAULT '0' AFTER `month_price`, +CHANGE `half_year_price` `half_year_price` int(11) NULL DEFAULT '0' AFTER `quarter_price`, +CHANGE `year_price` `year_price` int(11) NULL DEFAULT '0' AFTER `half_year_price`; \ No newline at end of file