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

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

Parameters

$name: The name of the table to create.

$table: A Schema API table definition array.

Return value

An array of SQL statements to create the table.:

File

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

Class

DatabaseSchema
Base class for database schema definitions.

Code

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