applySchema method
Applies target to the database and records the migration result.
Implementation
SqliteMigrationResult applySchema({
required sqlite.Database database,
required SchemaDocument target,
required String migrationName,
bool allowWarnings = false,
}) {
return runner.migrateToSchema(
database: database,
target: target,
migrationName: migrationName,
allowWarnings: allowWarnings,
);
}