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 entries index by tenant_id and scope #244

Merged
merged 4 commits into from
Jan 31, 2025

Conversation

stepanenkoxx
Copy link
Contributor

No description provided.

@stepanenkoxx stepanenkoxx force-pushed the DLAPI-11-add-entries-tenant-id-scope-index branch from 2ca7db0 to 87757a8 Compare January 30, 2025 11:47
@stepanenkoxx stepanenkoxx marked this pull request as ready for review January 30, 2025 15:11
}

export async function down(knex: Knex): Promise<void> {
return knex.raw(`DROP INDEX IF EXISTS entries_tenant_id_scope_idx;`);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's not use IF EXISTS in the down transaction

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The reason is that it might mask an error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed)

@stepanenkoxx stepanenkoxx merged commit 2c215ab into main Jan 31, 2025
5 checks passed
@stepanenkoxx stepanenkoxx deleted the DLAPI-11-add-entries-tenant-id-scope-index branch January 31, 2025 07:45
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