Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for django-manage-reset-migrations, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size django_manage_reset_migrations-0.2-py2-none-any.whl (5.9 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size django-manage-reset-migrations-0.2.tar.gz (15.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page