pushSchema method

SqliteMigrationResult pushSchema({
  1. required Database database,
  2. required SchemaDocument target,
  3. bool allowWarnings = false,
})

Applies target directly without writing migration history.

Implementation

SqliteMigrationResult pushSchema({
  required sqlite.Database database,
  required SchemaDocument target,
  bool allowWarnings = false,
}) {
  return runner.pushToSchema(
    database: database,
    target: target,
    allowWarnings: allowWarnings,
  );
}