apply method
Applies the schema to executor using create-if-missing semantics.
Implementation
Future<void> apply(pg.SessionExecutor executor, SchemaDocument schema) async {
await executor.run((session) async {
for (final statement in createSchemaStatements(schema)) {
await session.execute(statement, ignoreRows: true);
}
});
}