mirror of
https://github.com/v2board/v2board.git
synced 2025-06-15 14:17:48 +08:00
update: rewrite buy limit
This commit is contained in:
@ -176,7 +176,7 @@ CREATE TABLE `v2_plan` (
|
||||
`onetime_price` int(11) DEFAULT NULL,
|
||||
`reset_price` int(11) DEFAULT NULL,
|
||||
`reset_traffic_method` tinyint(1) DEFAULT NULL,
|
||||
`inventory_limit` int(11) DEFAULT NULL,
|
||||
`capacity_limit` int(11) DEFAULT NULL,
|
||||
`created_at` int(11) NOT NULL,
|
||||
`updated_at` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
@ -379,4 +379,4 @@ CREATE TABLE `v2_user` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
-- 2022-06-28 18:09:08
|
||||
-- 2022-07-07 18:23:17
|
||||
|
@ -589,3 +589,6 @@ ALTER TABLE `v2_mail_log`
|
||||
|
||||
ALTER TABLE `v2_plan`
|
||||
ADD `inventory_limit` int(11) NULL AFTER `reset_traffic_method`;
|
||||
|
||||
ALTER TABLE `v2_plan`
|
||||
CHANGE `inventory_limit` `capacity_limit` int(11) NULL AFTER `reset_traffic_method`;
|
||||
|
Reference in New Issue
Block a user