MediaWiki REL1_39
|
Interface SchemaChangeBuilder that gets a definition and produces ALTER TABLE SQL based on RDBMS. More...
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.