Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Database > Database APIs

    migranto 0.1.9

    Download button

    No screenshots available
    Downloads: 110  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alexey Novikov | More programs
    BSD License / FREE
    September 9th, 2012, 19:13 GMT
    ROOT / Database / Database APIs

     Read user reviews (0)  Refer to a friend  Subscribe

    migranto description

    Simple SQL migration tool for SQLite and PostgreSQL

    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)



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    SQL migration | PostgreSQL migration | SQLite migration | SQL | migration | SQLite

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM