MediaWiki REL1_37
SchemaBuilder.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Rdbms;
4
11interface SchemaBuilder {
12
31 public function addTable( array $schema );
32
36 public function getSql();
37}
Interface SchemaBuilder that gets a definition and produces SQL based on RDBMS.
addTable(array $schema)
An example of $schema value: [ 'name' => 'actor', 'columns' => [ [ 'actor_id', 'bigint',...