Skip to content

Commit

Permalink
Add correct index for suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
mrilyew committed Nov 16, 2023
1 parent 4699fcb commit 4e3a6f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install/sqls/00043-suggest-posts.sql
Original file line number Diff line number Diff line change
@@ -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`);

0 comments on commit 4e3a6f3

Please sign in to comment.