A management utility to reset migrations
Project description
Installation
pip install django-manage-reset-migrations
Release 0.1
Usage
Add django_manage_reset_migrations to INSTALLED_APPS
./manage reset_migrations
It will delete all the applied migrations from the disk and the db. Useful when migration files are too many and it slows down the computer. Reset migrations using this utility and run makemigration then fake all of them.
Release 0.2
Usage
Add django_manage_reset_migrations to INSTALLED_APPS
./manage reset_migrations
This will delete migrations for all apps from db and disk
./manage reset_migrations –apps app1 app2 app3 …*
This will delete migration for app1, app2, app3 only.
As always pull requests are welcome :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-manage-reset-migrations-0.2.tar.gz
.
File metadata
- Download URL: django-manage-reset-migrations-0.2.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 401b5f5af4fcf2fe2a7d34279c2590e8060645eb49d5871e547bb182154df27c |
|
MD5 | 7fec311a3fd10b9569b00d2ecb05b1a1 |
|
BLAKE2b-256 | a0586aa14cb779dd3b94de9f4df8dea8cc6263a1ba383a77ba7aa0b5fe81b4d4 |
File details
Details for the file django_manage_reset_migrations-0.2-py2-none-any.whl
.
File metadata
- Download URL: django_manage_reset_migrations-0.2-py2-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91f4e125b36fd6da4ad4147130ac244d296749cc9d75ae142d22ea9ec83d9043 |
|
MD5 | a8bb3dd61615ea6186463a9c52e9723c |
|
BLAKE2b-256 | e80fdb41095cf08788efef4dfb759663d4deabcbdc4e947e0bf1aa7cea5198e8 |