MediaWiki master
|
Interface SchemaChangeBuilder that gets a definition and produces ALTER TABLE SQL based on RDBMS. More...
Inherited by Wikimedia\Rdbms\DoctrineSchemaChangeBuilder.
Public Member Functions | |
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> ],. | |
Interface SchemaChangeBuilder that gets a definition and produces ALTER TABLE SQL based on RDBMS.
@experimental
Definition at line 11 of file SchemaChangeBuilder.php.
Wikimedia\Rdbms\SchemaChangeBuilder::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 |
Implemented in Wikimedia\Rdbms\DoctrineSchemaChangeBuilder.