migranto

Software Screenshot:
migranto
Software Details:
Version: 0.1.9
Upload Date: 20 Feb 15
Developer: Alexey Novikov
Distribution Type: Freeware
Downloads: 6

Rating: nan/5 (Total Votes: 0)

migranto is a simple SQL migration tool for SQLite and PostgreSQL.

Instalation

    pip install migranto

Migrations

All migrations exist in one directory with names like:

        0001_some_useful_name.sql
        0001_some_useful_name_rollback.sql
        0002_some_other_useful_name.sql
        0002_some_other_useful_name_rollback.sql


Migranto checks migrations directory and apply sql files to database. That's it. Simple enough.

Usage:

`./migranto [-h] --database URL --name NAME --path PATH [--migration N] [--storage NAME] [--verbose]`

*       __--help, -h__ — show this help message and exit
*       __--database URL, -d URL__ — database url (pgsql://user:password@host:port/dbname or sqlite://path/to/data.base)
*       __--name NAME, -n NAME__ — migration set name
*       __--path PATH, -p PATH__ — path to migrations dir
*       __--migration N, -m N__ — migration step (last migration if omitted, 0 - before first migration)
*       __--storage NAME, -s NAME__ — migranto table name for data (default is migranto)
*       __--verbose, -v__ — verbose mode
*       __--fake, -f__ — fake migration (no sql applied to database, except migration number)

Requirements:

  • Python

Similar Software

Andromeda
Andromeda

2 Jun 15

MyJgui
MyJgui

20 Feb 15

MongoMultiMaster
MongoMultiMaster

20 Feb 15

Other Software of Developer Alexey Novikov

jinja2modern
jinja2modern

20 Feb 15

Comments to migranto

Comments not found
Add Comment
Turn on images!