Add indexes on user+id to changeset and diary comments

This commit is contained in:
Tom Hughes 2025-01-21 19:21:17 +00:00
parent bd577d7c92
commit ebe7cf8d17
4 changed files with 25 additions and 0 deletions

View file

@ -15,6 +15,7 @@
#
# diary_comment_user_id_created_at_index (user_id,created_at)
# diary_comments_entry_id_idx (diary_entry_id,id) UNIQUE
# index_diary_comments_on_user_id_and_id (user_id,id)
#
# Foreign Keys
#