MediaWiki REL1_40
|
@experimental More...
Inherits Wikimedia\Rdbms\SchemaChangeBuilder.
Public Member Functions | |
__construct (AbstractPlatform $platform) | |
A builder object that take abstract schema definition and produces sql to create the tables. | |
getSchemaChangeSql (array $schemaChangeSpec) | |
An example of $schema value: [ 'comment' => 'Adding foo field', 'before' => <Before snapshot of the abstract schema> 'after' => <After snapshot of the abstract schema> ],. | |
Wikimedia\Rdbms\DoctrineSchemaChangeBuilder::__construct | ( | AbstractPlatform | $platform | ) |
A builder object that take abstract schema definition and produces sql to create the tables.
AbstractPlatform | $platform | A Doctrine Platform object, Can be Mysql, Sqlite, etc. |
Definition at line 23 of file DoctrineSchemaChangeBuilder.php.
Wikimedia\Rdbms\DoctrineSchemaChangeBuilder::getSchemaChangeSql | ( | array | $schemaChangeSpec | ) |
An example of $schema value: [ 'comment' => 'Adding foo field', 'before' => <Before snapshot of the abstract schema> 'after' => <After snapshot of the abstract schema> ],.
array | $schemaChangeSpec |
Implements Wikimedia\Rdbms\SchemaChangeBuilder.
Definition at line 34 of file DoctrineSchemaChangeBuilder.php.