pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Fail a build on TravisCI when changes on models have missing migration files

Open bugzilla-to-github opened this issue 5 years ago • 0 comments

This issue was created automatically by a script.

Bug 1677182

Bug Reporter: @jotes

Sometimes, It's easy to forget about generating a migration when the changes on a model don't cause visible side-effects (e.g. crashing the backend).

It's preventable; AFAIK Django's makemigrations has a --check flag to return a non-zero status when it finds model changes without a migration.

bugzilla-to-github avatar Nov 13 '20 03:11 bugzilla-to-github