update: add plan reset method

This commit is contained in:
tokumeikoi
2021-09-21 18:51:53 +09:00
parent 25b3b11efd
commit 7a4bd468a2
7 changed files with 55 additions and 26 deletions

View File

@ -165,6 +165,7 @@ CREATE TABLE `v2_plan` (
`three_year_price` int(11) DEFAULT NULL,
`onetime_price` int(11) DEFAULT NULL,
`reset_price` int(11) DEFAULT NULL,
`reset_traffic_method` tinyint(1) DEFAULT NULL,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
PRIMARY KEY (`id`)
@ -367,4 +368,4 @@ CREATE TABLE `v2_user` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- 2021-09-18 12:00:43
-- 2021-09-20 15:35:06

View File

@ -452,3 +452,6 @@ CREATE TABLE `v2_commission_log` (
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL
) COLLATE 'utf8mb4_general_ci';
ALTER TABLE `v2_plan`
ADD `reset_traffic_method` tinyint(1) NULL AFTER `reset_price`;