##// END OF EJS Templates
freeze of models for future migrations using small schema files snapshoting current model state
freeze of models for future migrations using small schema files snapshoting current model state

File last commit:

r833:9753e090 beta
r1631:5cacb51f beta
Show More
default.py_tmpl
10 lines | 254 B | text/plain | TextLexer
#!/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 }})