mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 15:39:10 +08:00
update sql
This commit is contained in:
parent
5b33bf7a0b
commit
04c6b865b4
@ -87,6 +87,7 @@ CREATE TABLE `v2_order` (
|
||||
`discount_amount` int(11) DEFAULT NULL,
|
||||
`surplus_amount` int(11) DEFAULT NULL COMMENT '剩余价值',
|
||||
`refund_amount` int(11) DEFAULT NULL COMMENT '退款金额',
|
||||
`balance_amount` int(11) DEFAULT NULL COMMENT '使用余额',
|
||||
`status` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`commission_status` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`commission_balance` int(11) NOT NULL DEFAULT '0',
|
||||
@ -125,11 +126,13 @@ CREATE TABLE `v2_server` (
|
||||
`host` varchar(255) NOT NULL,
|
||||
`port` int(11) NOT NULL,
|
||||
`server_port` int(11) NOT NULL,
|
||||
`tls` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`tags` varchar(255) DEFAULT NULL,
|
||||
`rate` varchar(11) NOT NULL,
|
||||
`network` varchar(11) NOT NULL,
|
||||
`settings` text,
|
||||
`rules` text,
|
||||
`networkSettings` text,
|
||||
`tls` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`tlsSettings` text,
|
||||
`ruleSettings` text,
|
||||
`show` tinyint(1) NOT NULL DEFAULT '0',
|
||||
@ -240,4 +243,4 @@ CREATE TABLE `v2_user` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
-- 2020-03-10 05:37:35
|
||||
-- 2020-03-17 14:16:01
|
||||
|
@ -197,3 +197,6 @@ CHANGE `network` `network` varchar(11) COLLATE 'utf8_general_ci' NOT NULL AFTER
|
||||
CHANGE `networkSettings` `networkSettings` text COLLATE 'utf8_general_ci' NULL AFTER `network`,
|
||||
CHANGE `tls` `tls` tinyint(4) NOT NULL DEFAULT '0' AFTER `networkSettings`,
|
||||
ADD `tlsSettings` text COLLATE 'utf8_general_ci' NULL AFTER `tls`;
|
||||
|
||||
ALTER TABLE `v2_order`
|
||||
ADD `balance_amount` int(11) NULL COMMENT '使用余额' AFTER `refund_amount`;
|
||||
|
Loading…
Reference in New Issue
Block a user