MediaWiki REL1_37
SchemaChangeBuilder.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Rdbms;
4
12
23 public function getSchemaChangeSql( array $schemaChangeSpec ): array;
24}
Interface SchemaChangeBuilder that gets a definition and produces ALTER TABLE SQL based on RDBMS.
getSchemaChangeSql(array $schemaChangeSpec)
An example of $schema value: [ 'comment' => 'Adding foo field', 'before' => <Before snapshot of the a...