+++ /dev/null
-# temporary sample notes
-
-
-# commands:
-
-alembic list-templates
- Available templates:
-
- generic - plain migration template
- pylons - uses Pylons .ini file and environment
- multidb - illustrates multi-database usage
-
-alembic init ./scripts
- --template argument is required.
-
- Available templates:
-
- generic - plain migration template
- pylons - uses Pylons .ini file and environment
- multidb - illustrates multi-database usage
-
-alembic init --template=generic ./scripts
- using template 'generic'....
- creating script dir './scripts'....
- copying 'env.py'...
- copying 'script.py.mako'...
- generating 'alembic.ini'...
- done ! edit 'sqlalchemy.url' in alembic.ini
-
-alembic revision -m "do something else"
-alembic upgrade
-alembic revert -r jQq57
-alembic history
-alembic splice jQq57 Pz953
-alembic branches
-
-# with pylons - use paster commands ?
-
-scripts directory looks like:
-
-./scripts/
- env.py
- script.py.mako
- lfh56_do_this.py
- jQq57_do_that.py
- Pzz19_do_something_else.py
-
-