Add simple script to setup mysql and postgresql databases, this script can be run by users during testing and will be run by CI systems for specific setup before running unit tests. This allows to change in project-config the python-db jobs to python-jobs since python-jobs will call this script initially. See also http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html Needed-By: I46d883ce1b25338d01a2b0e2b071b15adab00520 Change-Id: I8c5015616a5a12501edd16932d4148930c01a06b
sqlalchemy-migrate
Fork from http://code.google.com/p/sqlalchemy-migrate/ to get it working with SQLAlchemy 0.8.
Inspired by Ruby on Rails' migrations, Migrate provides a way to deal with database schema changes in SQLAlchemy projects.
Migrate extends SQLAlchemy to have database changeset handling. It provides a database change repository mechanism which can be used from the command line as well as from inside python code.
Help
Sphinx documentation is available at the project page readthedocs.org.
Users and developers can be found at #openstack-dev on Freenode IRC network and at the public users mailing list migrate-users.
New releases and major changes are announced at the public announce mailing list openstack-dev and at the Python package index sqlalchemy-migrate.
Homepage is located at stackforge
You can also clone a current development version
Tests and Bugs
To run automated tests:
- install tox:
pip install -U tox
- run tox:
tox
- to test only a specific Python version:
tox -e py27
(Python 2.7)
Please report any issues with sqlalchemy-migrate to the issue tracker at Launchpad issues