3YOURMIND / django-migration-linter

:rocket: Detect backward incompatible migrations for your django project
https://pypi.python.org/pypi/django-migration-linter/
Apache License 2.0
530 stars 58 forks source link

Optionally do not reraise sqlmigrate exceptions #285

Closed kekekekule closed 8 months ago

kekekekule commented 8 months ago

This solves: #274

Discussed this option in https://github.com/3YOURMIND/django-migration-linter/pull/273

David-Wobrock commented 8 months ago

Thanks! I was willing to add this 🤞

I'll take a look soonish :)

kekekekule commented 8 months ago

@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.