Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-manage-reset-migrations-0.2.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page