Skip to main content

Run the database migrations

Project description

Migratron

A database migration system to modify the database schema or to populate the tables information.

This will work with:

  • PostgreSQL

  • Hive

  • PrestoSQL/PrestoDB

Change Log

All notable changes to this project will be documented here.

Sort subsections like so: Added, Bugfixes, Improvements, Technical tasks. Group anything an end user shouldn’t care deeply about into technical tasks, even if they’re technically bugs. Only include as “bugfixes” bugs with user-visible outcomes.

When major components get significant changes worthy of mention, they can be described in a Major section.

v2.1.0 - 2020-11-17

Added

  • Official docker image

Bugfixes

  • Document what migratron does

  • Exception message is valid when using Python2 and Python3

  • Make the subcommand required and print the help message if missing

Technical Tasks

  • Improve the documentation on how to setup migratron locally

  • Add documentation on how to run the tests

  • Add documentation on how migratron works

v2.0.1 - 2020-09-29

Bugfixes

  • Added VERSION file to the python package

v2.0.0 - 2020-08-28

Added

  • Options to run the migration against Hive or Presto

  • Created the documentation

  • The project can be used on Python3

  • Description to the README.rst

Changed

  • Rename the package to migratron

  • Changed the --database-uri|type parameters to --db-uri|type

Bugfixes

  • Added requirements-dev.txt to setup.py package_data

  • Missing requirements.txt when using pip to install package

  • Use Python 2 and 3 compatible function to get user input

Technical Task

  • Do not use unittest deprecated methods

  • Generate coverage report when running the tests

  • Added missing classifiers to setup.py

  • Create a version file

  • Format the code using black

  • Add Makefile to run tests and generate documentation

  • Solve typos and improve documentation

  • Fix min required version for some dev dependencies

  • Added readthedocs configuration file

  • Added long description to the setup.py

  • Use MANIFEST.ini to add non python files to the package<Paste>

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

migratron-2.2.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distributions

migratron-2.2.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

migratron-2.2.0-py2-none-any.whl (24.4 kB view details)

Uploaded Python 2

File details

Details for the file migratron-2.2.0.tar.gz.

File metadata

  • Download URL: migratron-2.2.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.16

File hashes

Hashes for migratron-2.2.0.tar.gz
Algorithm Hash digest
SHA256 001fff47069ec1e5357e52092dadf671caf2dddf960298c719f07ce8e7b6c590
MD5 e49c54721852eca5f97044a78f6b2fc1
BLAKE2b-256 458ace931510af779a8e0fd35d10762b669c937fffbb1fa1071a44529ac9f362

See more details on using hashes here.

File details

Details for the file migratron-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: migratron-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for migratron-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43f8241fa9cf852a7877720805c4ee90d374873f262352fa592e6a0035f7b63f
MD5 b1744e5dc813d3a71aecd70c2392f5d1
BLAKE2b-256 5eace27f84a9a0bf58327f1946ff45445903774b5b078edeb4e6d0a8912d027a

See more details on using hashes here.

File details

Details for the file migratron-2.2.0-py2-none-any.whl.

File metadata

  • Download URL: migratron-2.2.0-py2-none-any.whl
  • Upload date:
  • Size: 24.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.16

File hashes

Hashes for migratron-2.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 0874692bb1e42cfabe834fc10f7363a4d7137c3f6a9d5af186059b77777720b5
MD5 5abe10e36c053e0d2f7783d04339ab5b
BLAKE2b-256 9710172c001ba6ecbc9944cd007cf1eac54021bd9cbb79353557a11af6450e85

See more details on using hashes here.

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