1 schema.inc abstract protected DatabaseSchema::createTableSql($name, $table)

Generate an array of query strings suitable for creating a table.

Parameters

string $name: The name of the table to create.

array $table: A Schema API table definition array.

Return value

array: An array of SQL statements to create the table.

File

core/includes/database/schema.inc, line 703
Generic Database schema code.

Class

DatabaseSchema
Base class for database schema definitions.

Code

abstract protected function createTableSql($name, $table);