internal/versioned_schema library
Classes
- VersionedSchema
- A snapshot of a database schema at a previous version.
- VersionedTable
- A drift table implementation that, instead of being generated, is constructed from individual fields
- VersionedView
- A constructed from individual fields instead of being generated with a dedicated class.
- VersionedVirtualTable
- The version of VersionedTable for virtual tables.
Typedefs
-
MigrationStepWithVersion
= Future<
int> Function(int currentVersion, GeneratedDatabase database) -
Signature of a function, typically generated by drift, that runs a single
migration step with a given
currentVersionand thedatabase.