Add language storage during server and profile polling
- Add index on language field in profile and server tables
This commit is contained in:
parent
650f0b4009
commit
bc5a0fb590
5 changed files with 79 additions and 61 deletions
3
src/sql/migrations/down/0002.sql
Normal file
3
src/sql/migrations/down/0002.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ALTER table `profile` DROP KEY `language` (`language`);
|
||||
|
||||
ALTER table `server` DROP KEY `language` (`language`);
|
||||
3
src/sql/migrations/up/0003.sql
Normal file
3
src/sql/migrations/up/0003.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ALTER table `profile` ADD KEY `language` (`language`);
|
||||
|
||||
ALTER table `server` ADD KEY `language` (`language`);
|
||||
Loading…
Add table
Add a link
Reference in a new issue