mirror of
https://github.com/planetmint/planetmint.git
synced 2026-02-18 01:23:49 +00:00
added db call to command
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
@@ -260,12 +260,14 @@ def run_init(args):
|
||||
|
||||
@configure_planetmint
|
||||
def run_migrate_up(args):
|
||||
return
|
||||
validator = Validator()
|
||||
schema.migrate_up(validator.models.connection)
|
||||
|
||||
|
||||
@configure_planetmint
|
||||
def run_migrate_down(args):
|
||||
return
|
||||
validator = Validator()
|
||||
schema.migrate_up(validator.models.connection)
|
||||
|
||||
|
||||
@configure_planetmint
|
||||
|
||||
Reference in New Issue
Block a user