mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-03 13:48:42 +00:00
Remove pointless index.
This commit is contained in:
parent
8d856a0917
commit
4bc4876f31
1 changed files with 0 additions and 4 deletions
|
@ -12,8 +12,6 @@ CREATE TABLE person_content_combined (
|
|||
|
||||
CREATE INDEX idx_person_content_combined_published ON person_content_combined (published DESC, id DESC);
|
||||
|
||||
CREATE INDEX idx_person_content_combined_published_asc ON person_content_combined (reverse_timestamp_sort (published) DESC, id DESC);
|
||||
|
||||
-- Updating the history
|
||||
INSERT INTO person_content_combined (published, post_id, comment_id)
|
||||
SELECT
|
||||
|
@ -43,8 +41,6 @@ CREATE TABLE person_saved_combined (
|
|||
|
||||
CREATE INDEX idx_person_saved_combined_published ON person_saved_combined (published DESC, id DESC);
|
||||
|
||||
CREATE INDEX idx_person_saved_combined_published_asc ON person_saved_combined (reverse_timestamp_sort (published) DESC, id DESC);
|
||||
|
||||
CREATE INDEX idx_person_saved_combined ON person_saved_combined (person_id);
|
||||
|
||||
-- Updating the history
|
||||
|
|
Loading…
Reference in a new issue