stepByStepHelper static method
- @Deprecated('Re-generate code so that it uses `VersionedSchema.stepByStepHelper`')
- required MigrationStepWithVersion step,
A helper used by drift internally to implement the step-by-step migration feature.
This method implements an OnUpgrade callback by repeatedly invoking
step
with the current version, assuming that step
will perform an
upgrade from that version to the version returned by the callback.
Implementation
@Deprecated(
'Re-generate code so that it uses `VersionedSchema.stepByStepHelper`')
static OnUpgrade stepByStepHelper({
required MigrationStepWithVersion step,
}) {
return VersionedSchema.stepByStepHelper(step: step);
}