YaroormConfig constructor
YaroormConfig(})
Implementation
YaroormConfig(
this.defaultConnName, {
required this.connections,
this.migrationsTable = 'migrations',
this.migrations = const [],
}) {
final hasDefault = connections.any((e) => e.name == defaultConnName);
if (!hasDefault) {
throw ArgumentError(
'Database connection info not found for $defaultConnName');
}
}