
- 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
20 lines
672 B
ReStructuredText
20 lines
672 B
ReStructuredText
SQLAlchemy migrate tools
|
|
========================
|
|
|
|
The most commonly used tool is the :command:`migrate` script that is
|
|
discussed in depth in the :ref:`Database schema versioning
|
|
<versioning-system>` part of the documentation.
|
|
|
|
.. index:: repository migration
|
|
|
|
There is a second tool :command:`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.
|
|
|
|
.. module:: migrate.versioning.migrate_repository
|
|
:synopsis: Tool for migrating pre 0.4.5 repositories to current layout
|
|
|
|
Running :command:`migrate_repository.py` is as easy as:
|
|
|
|
:samp:`migrate_repository.py {repository_directory}`
|