Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: add new indexes for better performance#1832

Open
Philipinho wants to merge 2 commits intomainfrom
fix/indexes
Open

fix: add new indexes for better performance#1832
Philipinho wants to merge 2 commits intomainfrom
fix/indexes

Conversation

@Philipinho
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds 22 database indexes to improve query performance across multiple tables including group_users, space_members, pages, workspaces, users, spaces, groups, shares, attachments, comments, and page_history. The migration includes both standard and partial/expression-based indexes optimized for specific query patterns.

Changes:

  • Added 22 new database indexes across 11 tables to optimize common queries
  • Created indexes for foreign key lookups, case-insensitive unique constraints, and filtered queries
  • Implemented corresponding rollback logic in the down function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants