mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: sql
This commit is contained in:
parent
1813fdca5d
commit
ebfba1b178
@ -322,7 +322,10 @@ CREATE TABLE `v2_stat_user` (
|
||||
`record_at` int(11) NOT NULL,
|
||||
`created_at` int(11) NOT NULL,
|
||||
`updated_at` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `server_id` (`server_id`),
|
||||
KEY `user_id` (`user_id`),
|
||||
KEY `record_at` (`record_at`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
|
||||
@ -390,4 +393,4 @@ CREATE TABLE `v2_user` (
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
|
||||
-- 2022-02-23 07:42:04
|
||||
-- 2022-02-25 09:10:24
|
||||
|
@ -508,3 +508,8 @@ CREATE TABLE `v2_stat_user` (
|
||||
|
||||
ALTER TABLE `v2_payment`
|
||||
ADD `notify_domain` varchar(128) COLLATE 'utf8mb4_general_ci' NULL AFTER `config`;
|
||||
|
||||
ALTER TABLE `v2_stat_user`
|
||||
ADD INDEX `server_id` (`server_id`),
|
||||
ADD INDEX `user_id` (`user_id`),
|
||||
ADD INDEX `record_at` (`record_at`);
|
||||
|
Loading…
Reference in New Issue
Block a user