Remove pointless index.

This commit is contained in:
Dessalines 2024-12-24 14:30:34 -05:00
parent 8d856a0917
commit 4bc4876f31

View file

@ -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