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

ci: Detect IF NOT EXISTS in migration scripts #1303

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Oct 27, 2023

In order to make sure we actually create the tables we specified in our migration script,
we have a CI test that matches the CREATE statements with the tables actually found in the
database.

The script didn't work with the IF NOT EXISTS statement. This fixes that.

In order to make sure we actually create the tables we specified in our migration script,
we have a CI test that matches the `CREATE` statements with the tables actually found in the
database.

The script didn't work with the `IF NOT EXISTS` statement. This fixes that.
@rdimitrov rdimitrov merged commit 283441a into main Oct 27, 2023
12 checks passed
@rdimitrov rdimitrov deleted the migrate-regex-fix branch October 27, 2023 07:36
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.

3 participants