Doctrine\DBAL\Schema\Synchronizer\SingleDatabaseSynchronizer
Schema Synchronizer for Default DBAL Connection
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
class SingleDatabaseSynchronizer
extends AbstractSchemaSynchronizer
{
- // members
- private AbstractPlatform $platform;
- // Inherited members from AbstractSchemaSynchronizer
- protected Connection $conn;
- // methods
- public void __construct()
- public array getCreateSchema()
- public array getUpdateSchema()
- public array getDropSchema()
- public array getDropAllSchema()
- public void createSchema()
- public void updateSchema()
- public void dropSchema()
- public void dropAllSchema()
- // Inherited methods from AbstractSchemaSynchronizer
- public void __construct()
- protected void processSqlSafely()
- protected void processSql()
Hierarchy
Members
Methods
public
- __construct()
- createSchema() — Create the Schema
- dropAllSchema() — Drop all assets from the underyling db.
- dropSchema() — Drop the given database schema from the underlying db.
- getCreateSchema() — Get the SQL statements that can be executed to create the schema.
- getDropAllSchema() — Get the SQL statements to drop all schema assets from underlying db.
- getDropSchema() — Get the SQL Statements to drop the given schema from underlying db.
- getUpdateSchema() — Get the SQL Statements to update given schema with the underlying db.
- updateSchema() — Update the Schema to new schema version.