3YOURMIND / django-add-default-value

This django Migration Operation can be used to transfer a Fields default value to the database scheme.
Apache License 2.0
138 stars 20 forks source link

Add check on whether the migration should happen for a model #15

Closed lgylym closed 5 years ago

lgylym commented 5 years ago

Same implemented in the built-in fields.

I have two databases running and when I run tests, the migrations for one database is running on the other as well, which shouldn't be the case.

lgylym commented 5 years ago

https://github.com/3YOURMIND/django-add-default-value/pull/16