Other versions might work too, but they are not officially supported.
Testing django migrations
Testing migrations is not a frequent thing in django land
But, sometimes it is totally required. When?
When we do complex schema or data changes
and what to be sure that existing data won't be corrupted
We might also want to be sure that all migrations can be safely rolled back
And as a final touch we want to be sure that migrations
are…
Don't forget to test your data migrations! One can use
django-test-migrations
package for this:Test django schema and data migrations, including migrations' order
django-test-migrations
Features
django
schema and data migrationsmypy
, PEP561 compatibleRead the announcing post See real-world usage example.
Installation
We support several
django
versions:1.11
2.1
2.2
Other versions might work too, but they are not officially supported.
Testing django migrations
Testing migrations is not a frequent thing in
django
land But, sometimes it is totally required. When?When we do complex schema or data changes and what to be sure that existing data won't be corrupted We might also want to be sure that all migrations can be safely rolled back And as a final touch we want to be sure that migrations are…
Thanks! Will definitely look into this package when i get a chance!