MariaDbMigrationRunner constructor

MariaDbMigrationRunner(
  1. MySqlConnection connection, {
  2. Iterable<Migration> migrations = const [],
  3. bool connected = false,
})

Implementation

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