PostgresMigrationRunner constructor

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

Implementation

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