##// END OF EJS Templates
dbmigrations:...
dbmigrations: added first working upgrade script fixed wrong versions fixed template path

File last commit:

r833:9753e090 beta
r836:28a4bb11 beta
Show More
default.py_tmpl
10 lines | 254 B | text/plain | TextLexer
added dbmigrate package, added model changes...
r833 #!/usr/bin/env python
from migrate.versioning.shell import main
{{py:
_vars = locals().copy()
del _vars['__template_name__']
_vars.pop('repository_name', None)
defaults = ", ".join(["%s='%s'" % var for var in _vars.iteritems()])
}}
main({{ defaults }})