Files
deb-python-taskflow/taskflow/persistence/backends/sqlalchemy/alembic
Joshua Harlow 25a8e4b132 Fix currently broken and inactive mysql tests
Commit 868dd84854 added a
migration script that caused there to be two heads (starting
points) of migrations which would cause alembic to be unable
to do the initial schema creation (and upgrade).

So this fixes that by correctly making one head only and
not skipping tests for a database if it can not be
upgraded for whatever reason (which was silencing the
test failures).

Closes-bug: #1528683

Change-Id: Id571072eec1dc3b6cbb9e868854f6db0b271e5f8
2015-12-22 12:39:28 -08:00
..
2013-08-24 22:46:43 -07:00
2013-08-24 22:46:43 -07:00
2013-08-24 22:46:43 -07:00

Please see https://alembic.readthedocs.org/en/latest/index.html for general documentation

To create alembic migrations you need to have alembic installed and available in PATH:
# pip install alembic
$ cd ./taskflow/persistence/backends/sqlalchemy/alembic
$ alembic revision -m "migration_description"

See Operation Reference https://alembic.readthedocs.org/en/latest/ops.html#ops
for a short list of commands