mirror of
https://github.com/v2board/v2board.git
synced 2025-01-27 00:19:10 +08:00
update: optimization stat user
This commit is contained in:
parent
b1fc316e3d
commit
c6cc307147
@ -549,11 +549,15 @@ CALL `path-2022-03-29`();
|
|||||||
DROP PROCEDURE IF EXISTS `path-2022-03-29`;
|
DROP PROCEDURE IF EXISTS `path-2022-03-29`;
|
||||||
|
|
||||||
ALTER TABLE `v2_stat_user`
|
ALTER TABLE `v2_stat_user`
|
||||||
ADD UNIQUE `server_rate_user_id_record_at` (`server_rate`, `user_id`, `record_at`),
|
ADD UNIQUE `server_rate_user_id_record_at` (`server_rate`, `user_id`, `record_at`);
|
||||||
ADD INDEX `server_rate` (`server_rate`),
|
ALTER TABLE `v2_stat_user`
|
||||||
DROP INDEX `server_id_user_id_record_at`,
|
ADD INDEX `server_rate` (`server_rate`);
|
||||||
|
ALTER TABLE `v2_stat_user`
|
||||||
|
DROP INDEX `server_id_user_id_record_at`;
|
||||||
|
ALTER TABLE `v2_stat_user`
|
||||||
DROP INDEX `server_id`;
|
DROP INDEX `server_id`;
|
||||||
|
|
||||||
ALTER TABLE `v2_stat_user`
|
ALTER TABLE `v2_stat_user`
|
||||||
DROP `server_id`,
|
DROP `server_id`;
|
||||||
|
ALTER TABLE `v2_stat_user`
|
||||||
DROP `server_type`;
|
DROP `server_type`;
|
||||||
|
Loading…
Reference in New Issue
Block a user