Skip to main content

Run the database migrations

Project description

Migratron

A PostgreSQL database migration system to modify the database schema. It can be also used to populate the tables information

It uses base SQL files and executes them using psql.

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.0.0 - Unreleased

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.0.0.tar.gz (17.3 kB view hashes)

Uploaded Source

Built Distribution

migratron-2.0.0-py3-none-any.whl (23.6 kB view hashes)

Uploaded 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