Compare commits
1 Commits
rewrite
...
jude/index
Author | SHA1 | Date | |
---|---|---|---|
|
a2ac7050d7 |
6
migrations/20231021161427_add_indexes.sql
Normal file
6
migrations/20231021161427_add_indexes.sql
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-- Add migration script here
|
||||||
|
ALTER TABLE `sounds` ADD UNIQUE INDEX `uploader_id_name` (`uploader_id`, `name`);
|
||||||
|
ALTER TABLE `sounds` ADD INDEX `name` (`name`);
|
||||||
|
ALTER TABLE `sounds` ADD INDEX `public` (`public`);
|
||||||
|
ALTER TABLE `sounds` ADD INDEX `uploader_id` (`uploader_id`);
|
||||||
|
ALTER TABLE `sounds` ADD INDEX `server_id` (`server_id`);
|
Loading…
Reference in New Issue
Block a user