def action_syncdb(params): from nailgun.db.migration import do_upgrade_head from nailgun.logger import logger logger.info("Syncing database...") do_upgrade_head() logger.info("Done")
def action_syncdb(params): from nailgun.db.migration import do_upgrade_head from nailgun.logger import logger logger.info("Syncing database...") do_upgrade_head() logger.info("Done")
def syncdb(): from nailgun.db.migration import do_upgrade_head do_upgrade_head()