Skip to main content

Migratore Infra-structure

Project description


Simple migration framework / infra-structure for SQL based databases.


pip install migratore




  • HOST - Hostname or IP address of the database system for migration
  • PORT - TCP port to be used in the connection with the database system
  • UNIX_SOCKET - Filesystem path to the UNIX socket file to be used in connection
  • DB - Name of the database used as the migration target
  • USERNAME - Username for authentication in database
  • PASSWORD - Password to be used for authentication in database
  • FS - Base file system path for file migration (may depend on migration context)


  • help - Prints a help message about the CLI interface
  • version - Prints the current version of migratore
  • environ - Displays the current environment in the standard output
  • list - Lists the executed migrations on the current database
  • errors - Lists the various errors from migration of the database
  • trace [id] - Prints the traceback for the error execution with the provided id
  • rebuild [id] - Run the partial execution of the migration with the given id
  • upgrade [path] - Executes the pending migrations using the defined directory or current
  • skip [path] - Skips the current migration (next to be run) using the defined directory or current
  • generate [path] - Generates a new migration file into the target path


database = Migratore.get_database()
table = database.get_table("users")
table.add_column("username", type = "text")


Migratore is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status Build Status GitHub Coverage Status PyPi Status License

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

migratore-0.5.5.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

migratore-0.5.5-py2.py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page