Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add declarative indexes. #1172

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Add declarative indexes. #1172

merged 1 commit into from
Feb 10, 2025

Conversation

Andrei-Dolgolev
Copy link
Contributor

@Andrei-Dolgolev Andrei-Dolgolev commented Feb 10, 2025

PR move from define each index in corresponding table to declared_attr in base model.

Database Schema Changes:

  • Added multiple new indexes to various tables to improve query performance. (moonstreamdb-v3/moonstreamdbv3/alembic/versions/c79044e047fe_declarative_indexes.py)
  • Removed several old indexes from the game7_orbit_arbitrum_sepolia_labels table and replaced them with new ones. (moonstreamdb-v3/moonstreamdbv3/alembic/versions/c79044e047fe_declarative_indexes.py)

Version Update:

  • Updated the version from 0.1.4 to 0.1.5. (moonstreamdb-v3/moonstreamdbv3/version.txt)

Copy link
Contributor

@kompotkot kompotkot left a comment

Choose a reason for hiding this comment

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

lg

@Andrei-Dolgolev Andrei-Dolgolev merged commit 59a1d14 into main Feb 10, 2025
1 check failed
@Andrei-Dolgolev Andrei-Dolgolev deleted the add-indexes branch February 10, 2025 13:41
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