Migration constructor
Implementation
Migration(this.name, this.migrationAction) {
if (_migrationActionRegistry.containsKey(name)) {
if (_migrationActionRegistry[name] != migrationAction) {
_migrationActionRegistry[name] = migrationAction;
DI.getIt.get<Logger>().w('Migration named "$name" is attempting to be '
'registered with a new migrationAction. The old migrationAction has been overridden.');
}
} else {
_migrationActionRegistry[name] = migrationAction;
}
}