
- made api.py, cfgparse.py, exceptions.py, genmodel.py, migrate_repository.py, and pathed.py PEP-8 clean - add tools.rst documenting the usage of migrate_repository.py - add more modules to api.rst - reference tools.rst from index.rst
672 B
672 B
SQLAlchemy migrate tools
The most commonly used tool is the migrate
script that is discussed in depth in the
Database schema versioning
<versioning-system>
part of the documentation.
repository migration
There is a second tool migrate_repository.py
that may be used to migrate
your repository from a version before 0.4.5 of SQLAlchemy migrate to the
current version.
migrate.versioning.migrate_repository
Running migrate_repository.py
is as easy as:
migrate_repository.py {repository_directory}