mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 08:52:15 -07:00
Support more indices
This commit is contained in:
parent
090cc8c144
commit
e0a3855fca
3 changed files with 11 additions and 3 deletions
6
servatrice/migrations/servatrice_0032_to_0033.sql
Normal file
6
servatrice/migrations/servatrice_0032_to_0033.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- Servatrice db migration from version 32 to version 33
|
||||
|
||||
ALTER TABLE cockatrice_user_analytics ADD INDEX `idx_last_login` (`last_login`);
|
||||
ALTER TABLE cockatrice_sessions ADD INDEX `idx_end_time` (`end_time`);
|
||||
|
||||
UPDATE cockatrice_schema_version SET version=33 WHERE version=32;
|
||||
Loading…
Add table
Add a link
Reference in a new issue