Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 899 Bytes

File metadata and controls

41 lines (30 loc) · 899 Bytes

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