OrmConfig constructor

const OrmConfig({
  1. String schema = 'lib/schema.dart',
  2. String? output,
  3. String migrations = 'migrations',
  4. required MigrationHistory history,
  5. required SchemaSnapshot snapshot,
  6. MigrationConnection? connect,
  7. SchemaRenames renames = const SchemaRenames(),
  8. Map<String, Map<String, String>> using = const {},
})

Configures a project without opening a database or executing a migration.

Implementation

const OrmConfig({
  this.schema = 'lib/schema.dart',
  this.output,
  this.migrations = 'migrations',
  required this.history,
  required this.snapshot,
  this.connect,
  this.renames = const SchemaRenames(),
  this.using = const {},
});