MysqlMigrationRunner constructor

MysqlMigrationRunner(
  1. ConnectionSettings settings, {
  2. Iterable<Migration> migrations = const [],
  3. bool connected = false,
})

Implementation

MysqlMigrationRunner(this.settings,
    {Iterable<Migration> migrations = const [], bool connected = false}) {
  if (migrations.isNotEmpty == true) migrations.forEach(addMigration);
  _connected = connected == true;
}