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

fix: only run index queries for Postgres DBs #3055

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Nov 28, 2023

Changes

Since the unique together functionality doesn't generate any indexes / constraints in MySQL / Oracle databases, the RunSQL commands that existed previously weren't relevant for those database engines. This PR ensures that this migration only applies to PostgresDBs.

How did you test this code?

This has been tested before (see features.0036_remove_existing_constraints migration here).

@matthewelwell matthewelwell requested review from a team and novakzaballa and removed request for a team November 28, 2023 15:11
Copy link

vercel bot commented Nov 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Nov 28, 2023 3:13pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 28, 2023 3:13pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview Nov 28, 2023 3:13pm

Copy link
Contributor

github-actions bot commented Nov 28, 2023

Uffizzi Preview deployment-41636 was deleted.

@matthewelwell matthewelwell added this pull request to the merge queue Nov 28, 2023
Merged via the queue into main with commit 7664ea2 Nov 28, 2023
@matthewelwell matthewelwell deleted the fix/oracle-and-mysql-migration-support branch November 28, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants