planFromDatabase method
Future<PostgresqlMigrationPlan>
planFromDatabase({
- required SessionExecutor executor,
- required SchemaDocument to,
Builds a plan by introspecting the live database first.
Implementation
Future<PostgresqlMigrationPlan> planFromDatabase({
required pg.SessionExecutor executor,
required SchemaDocument to,
}) async {
return plan(from: await schemaIntrospector.introspect(executor), to: to);
}