PostgresMigrationRunner constructor

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

Implementation

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