MediaWiki
REL1_37
SchemaChangeBuilder.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Rdbms
;
4
11
interface
SchemaChangeBuilder
{
12
23
public
function
getSchemaChangeSql
( array $schemaChangeSpec ): array;
24
}
Wikimedia\Rdbms\SchemaChangeBuilder
Interface SchemaChangeBuilder that gets a definition and produces ALTER TABLE SQL based on RDBMS.
Definition
SchemaChangeBuilder.php:11
Wikimedia\Rdbms\SchemaChangeBuilder\getSchemaChangeSql
getSchemaChangeSql(array $schemaChangeSpec)
An example of $schema value: [ 'comment' => 'Adding foo field', 'before' => <Before snapshot of the a...
Wikimedia\Rdbms
Definition
ChronologyProtector.php:24
includes
libs
rdbms
dbal
SchemaChangeBuilder.php
Generated on Fri Apr 5 2024 23:40:31 for MediaWiki by
1.9.8