pushSchema method

Future<PostgresqlMigrationResult> pushSchema({
  1. required SessionExecutor executor,
  2. required SchemaDocument target,
  3. bool allowWarnings = false,
})

Applies target directly without creating history entries.

Implementation

Future<PostgresqlMigrationResult> pushSchema({
  required pg.SessionExecutor executor,
  required SchemaDocument target,
  bool allowWarnings = false,
}) {
  return runner.pushToSchema(
    executor: executor,
    target: target,
    allowWarnings: allowWarnings,
  );
}