if ($this->autoSetup
) { $this->
setup();
} $stmt =
$this->driverConnection->
executeStatement($sql,
$parameters,
$types);
} return $stmt;
} private function getSchema(): Schema
{ $schema =
new Schema([],
[],
$this->
createSchemaManager()->
createSchemaConfig());
$this->
addTableToSchema($schema);
return $schema;
} private function addTableToSchema(Schema
$schema): void
{ $table =
$schema->
createTable($this->configuration
['table_name'
]);
// add an internal option to mark that we created this & the non-namespaced table name
$table->
addOption(self::TABLE_OPTION_NAME,
$this->configuration
['table_name'
]);
$table->
addColumn('id', Types::BIGINT
)