mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
83cbe86192
commit
ade3770d50
@ -168,7 +168,8 @@ CREATE TABLE `v2_server_log` (
|
|||||||
`log_at` int(11) NOT NULL,
|
`log_at` int(11) NOT NULL,
|
||||||
`created_at` int(11) NOT NULL,
|
`created_at` int(11) NOT NULL,
|
||||||
`updated_at` int(11) NOT NULL,
|
`updated_at` int(11) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `log_at` (`log_at`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
@ -181,7 +182,7 @@ CREATE TABLE `v2_server_stat` (
|
|||||||
`created_at` int(11) NOT NULL,
|
`created_at` int(11) NOT NULL,
|
||||||
`updated_at` int(11) NOT NULL,
|
`updated_at` int(11) NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `v2_ticket`;
|
DROP TABLE IF EXISTS `v2_ticket`;
|
||||||
@ -228,6 +229,7 @@ DROP TABLE IF EXISTS `v2_user`;
|
|||||||
CREATE TABLE `v2_user` (
|
CREATE TABLE `v2_user` (
|
||||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
`invite_user_id` int(11) DEFAULT NULL,
|
`invite_user_id` int(11) DEFAULT NULL,
|
||||||
|
`telegram_id` bigint(20) DEFAULT NULL,
|
||||||
`email` varchar(64) NOT NULL,
|
`email` varchar(64) NOT NULL,
|
||||||
`password` varchar(64) NOT NULL,
|
`password` varchar(64) NOT NULL,
|
||||||
`password_algo` char(10) DEFAULT NULL,
|
`password_algo` char(10) DEFAULT NULL,
|
||||||
@ -259,4 +261,4 @@ CREATE TABLE `v2_user` (
|
|||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
-- 2020-05-12 05:24:10
|
-- 2020-05-12 12:31:04
|
||||||
|
@ -253,3 +253,6 @@ CHANGE `year_price` `year_price` int(11) NULL AFTER `half_year_price`;
|
|||||||
|
|
||||||
ALTER TABLE v2_server_log
|
ALTER TABLE v2_server_log
|
||||||
ADD INDEX log_at (`log_at`);
|
ADD INDEX log_at (`log_at`);
|
||||||
|
|
||||||
|
ALTER TABLE `v2_user`
|
||||||
|
ADD `telegram_id` bigint NULL AFTER `invite_user_id`;
|
||||||
|
Loading…
Reference in New Issue
Block a user