Skip to content

chore: create indexes on required id columns for v2 application#9704

Merged
likhinbopanna merged 2 commits intomainfrom
add-indexes-on-id-column
Oct 8, 2025
Merged

chore: create indexes on required id columns for v2 application#9704
likhinbopanna merged 2 commits intomainfrom
add-indexes-on-id-column

Conversation

@hrithikesh026
Copy link
Contributor

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Since id column is introduced as varchar for a few major tracker tables in v2, index creation was missed in v2_compatible_migrations directory. This PR includes that.

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

To improve DB query time.

How did you test it?

Ran diesel migrations

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@hrithikesh026 hrithikesh026 self-assigned this Oct 7, 2025
@hrithikesh026 hrithikesh026 requested a review from a team as a code owner October 7, 2025 08:02
@semanticdiff-com
Copy link

Review changes with  SemanticDiff

@hrithikesh026 hrithikesh026 linked an issue Oct 7, 2025 that may be closed by this pull request
@likhinbopanna likhinbopanna added this pull request to the merge queue Oct 8, 2025
Merged via the queue into main with commit dab0851 Oct 8, 2025
21 of 25 checks passed
@likhinbopanna likhinbopanna deleted the add-indexes-on-id-column branch October 8, 2025 15:44
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.

Create indexes for tracker tables in v2_compatible_migrations

4 participants