diff --git a/migrations/2024-12-05-233704_add_person_content_combined_table/up.sql b/migrations/2024-12-05-233704_add_person_content_combined_table/up.sql index cbef85ecc..973535b89 100644 --- a/migrations/2024-12-05-233704_add_person_content_combined_table/up.sql +++ b/migrations/2024-12-05-233704_add_person_content_combined_table/up.sql @@ -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