def upgrade(self, api): """Upgrade Rally database to the latest state.""" print("Upgrading...") start_revision = db.schema_revision() db.schema_upgrade() current_revision = db.schema_revision() if start_revision != current_revision: print("Database schema upgraded successfully " "from {start} to {end} revision." .format(start=start_revision, end=current_revision)) else: print("Database is already up to date")
def upgrade(self, api): """Upgrade Rally database to the latest state.""" print("Upgrading...") start_revision = db.schema_revision() db.schema_upgrade() current_revision = db.schema_revision() if start_revision != current_revision: print("Database schema upgraded successfully " "from {start} to {end} revision.".format( start=start_revision, end=current_revision)) else: print("Database is already up to date")
def upgrade(self): """Upgrade Rally database to the latest state.""" with output_migration_result("upgrade"): db.schema_upgrade()
def db_sync(self, engine): db.schema_upgrade()
def upgrade(self): """Upgrade Rally database to the latest state.""" db.schema_upgrade()