Database schema migration for SQLAlchemy
Go to file
Andreas Jaeger 7fc88b35e8 Prepare for using standard python tests
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
2017-02-09 06:49:29 +01:00
doc/source Update URLs in documentation 2015-08-29 06:33:47 -07:00
migrate Set autoincrement to False when modifying to non-Integer datatype 2016-10-20 17:47:19 -04:00
tools Prepare for using standard python tests 2017-02-09 06:49:29 +01:00
.gitignore Fix .gitignore for .tox and .testrepository 2015-02-20 10:43:00 -08:00
.gitreview Initial changes to import into StackForge. 2013-07-11 15:50:07 -04:00
.testr.conf Updated to OpenStack Build stuff. 2013-07-11 16:54:46 -04:00
COPYING add MIT licence file 2010-07-08 19:16:22 +02:00
MANIFEST.in Updated to OpenStack Build stuff. 2013-07-11 16:54:46 -04:00
README.rst Update URLs in documentation 2015-08-29 06:33:47 -07:00
TODO Updated to OpenStack Build stuff. 2013-07-11 16:54:46 -04:00
doc-requirements.txt Add a reqs files for RTFD 2013-07-12 10:53:37 -04:00
requirements.txt Unblock migrate (py26 and py3* testing issues) 2015-07-18 10:39:35 -07:00
setup.cfg Add Python 3 classifiers 2015-04-17 09:48:17 +02:00
setup.py Unblock migrate (py26 and py3* testing issues) 2015-07-18 10:39:35 -07:00
test-requirements-py2.txt Port to Python3 2014-04-09 17:32:52 +02:00
test-requirements-py3.txt Port to Python3 2014-04-09 17:32:52 +02:00
test-requirements.txt Unblock migrate (py26 and py3* testing issues) 2015-07-18 10:39:35 -07:00
test_db.cfg Eradicate trailing whitespace 2014-02-26 15:04:54 -05:00
test_db_py3.cfg Port to Python3 2014-04-09 17:32:52 +02:00
tox.ini Update flake8 related dependencies 2015-07-05 06:44:03 -07:00

README.rst

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