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

Optionally do not reraise sqlmigrate exceptions #285

Merged

Conversation

kekekekule
Copy link
Contributor

This solves: #274

Discussed this option in #273

@kekekekule kekekekule force-pushed the flag-to-ignore-error-on-sqlmigrate branch from a8c1f15 to ac13fb3 Compare March 14, 2024 09:51
@David-Wobrock
Copy link
Collaborator

Thanks!
I was willing to add this 🤞

I'll take a look soonish :)

@kekekekule
Copy link
Contributor Author

kekekekule commented Mar 14, 2024

@David-Wobrock I suppose the further step is to apply migrations right after linting them. This approach requires to change migration sorting in lint_all_migrations.

This could solve problems like crash of sqlmigrate in case of changing unique constraints, for example.

Wish I could implement this soonish.

@David-Wobrock David-Wobrock force-pushed the flag-to-ignore-error-on-sqlmigrate branch from ac13fb3 to 72ccde4 Compare March 29, 2024 12:05
@David-Wobrock David-Wobrock merged commit b15924c into 3YOURMIND:main Mar 30, 2024
8 checks passed
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.

None yet

2 participants