mirror of
https://github.com/v2board/v2board.git
synced 2025-06-15 06:07:49 +08:00
update: add coupon per user limit
This commit is contained in:
@ -27,6 +27,7 @@ CREATE TABLE `v2_coupon` (
|
||||
`type` tinyint(1) NOT NULL,
|
||||
`value` int(11) NOT NULL,
|
||||
`limit_use` int(11) DEFAULT NULL,
|
||||
`limit_use_with_user` int(11) DEFAULT NULL,
|
||||
`limit_plan_ids` varchar(255) DEFAULT NULL,
|
||||
`started_at` int(11) NOT NULL,
|
||||
`ended_at` int(11) NOT NULL,
|
||||
@ -351,4 +352,4 @@ CREATE TABLE `v2_user` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
-- 2021-08-18 12:22:48
|
||||
-- 2021-08-28 06:53:57
|
||||
|
@ -435,3 +435,6 @@ ADD INDEX `server_id` (`server_id`);
|
||||
|
||||
ALTER TABLE `v2_ticket_message`
|
||||
CHANGE `message` `message` text COLLATE 'utf8mb4_general_ci' NOT NULL AFTER `ticket_id`;
|
||||
|
||||
ALTER TABLE `v2_coupon`
|
||||
ADD `limit_use_with_user` int(11) NULL AFTER `limit_use`;
|
||||
|
Reference in New Issue
Block a user