spitzer

Django-based multi-target migration tool


Keywords
migration, database, devops
License
MIT
Install
pip install spitzer==1.1.0

Documentation

Spitzer

Django-based multi-target migration tool

Install requires

  • Python 3.4+
  • Django
  • PyYAML
  • terminaltables
  • cymysql
  • django-cymysq
pip install rinzler

Config

Place a copy of the sample spitzer.yaml at your app's root directory.

Usage

//Configure e install Spitzer
$ python -m spitzer install

//Create and register a new blank migration file
$ python -m spitzer create

//Register your self-created migration file
$ python -m spitzer make_migrations

//Execute migrations on the configured target
$ python -m spitzer migrate

//List your migrations
$ python -m spitzer show_migrations

//You will see something like this:

captura de tela 2017-09-06 as 10 19 50