Add correct index for suggested

This commit is contained in:
lalka2018 2023-11-16 19:53:01 +03:00
parent 4699fcbeb9
commit 4e3a6f35cb

View file

@ -1 +1,2 @@
ALTER TABLE `posts` ADD `suggested` TINYINT(2) UNSIGNED NOT NULL DEFAULT '0' AFTER `deleted`, ADD INDEX (`suggested`);
ALTER TABLE `posts` ADD `suggested` TINYINT(2) UNSIGNED NOT NULL DEFAULT '0' AFTER `deleted`;
ALTER TABLE `posts` ADD INDEX `wall_deleted_suggested` (`wall`, `deleted`, `suggested`);