def cf_startup(): """Migrate schemas on `cf push`.""" check_config() if env.index == '0': subprocess.Popen(['python', 'manage.py', 'update_schemas'])
def cf_startup(): """Migrate schemas on `cf push`.""" check_config() if env.index == '0': subprocess.Popen(['python', 'manage.py', 'update_schemas'])
def cf_startup(): """Migrate schemas on `cf push`.""" check_config() if env.index == '0': subprocess.Popen(['python', 'manage.py', 'refresh_materialized'])
def cf_startup(): """Migrate schemas on `cf push`.""" check_config() if env.index == '0': subprocess.Popen(['python', 'manage.py', 'refresh_materialized'])