self.db_dry_run = db_dry_run
self.verbosity = int(verbosity)
+ def print_status(self, migration):
+ status = self.status(migration)
+ if self.verbosity and status:
def migrate(self, migration):
Runs the specified migration forwards/backwards, in order.
app = migration.migrations._migrations
migration_name = migration.name()
- status = self.status(migration)
- if self.verbosity and status:
klass = migration.migration().Migration
# Find its predecessor, and attach the ORM from that as prev_orm.