How to Install alembic in Ubuntu 18.04



Install alembic by entering the following commands in the terminal:

sudo apt update
sudo apt install alembic

Description:

lightweight database migration tool for SQLAlchemy

Alembic is a new database migration tool, written by the author of SQLAlchemy. A migration tool offers the following functionality: . * Can emit ALTER statements to a database in order to change the structure of tables and other constructs * Provides a system whereby "migration scripts" may be constructed; each script indicates a particular series of steps that can "upgrade" a target database to a new version, and optionally a series of steps that can "downgrade" similarly, doing the same steps in reverse. * Allows the scripts to execute in some sequential manner. . This package provides /usr/bin/alembic script and documentation for Alembic, and depends on the python-alembic package which contains all the actual code (in Python 2) for Alembic to actually work.

Homepage: https://bitbucket.org/zzzeek/alembic

Version: 0.9.3-2ubuntu1

Section: python