Doctrine\DBAL\Schema\Synchronizer\SchemaSynchronizer
The synchronizer knows how to synchronize a schema with the configured database.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
interface SchemaSynchronizer
{
- // methods
- public array getCreateSchema()
- public array getUpdateSchema()
- public array getDropSchema()
- public array getDropAllSchema()
- public void createSchema()
- public void updateSchema()
- public void dropSchema()
- public void dropAllSchema()
Methods
public
- 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.