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 #16

Closed lgylym closed 4 years ago

lgylym commented 5 years ago

Same implemented in the built-in fields.

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