You are here

public function SchemaDatabaseSchema_mysql::getCreateTableSql in Schema 8

Retrieve generated SQL to create a new table from a Drupal schema definition.

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

src/SchemaDatabaseSchema_mysql.php, line 23
Schema module enhancements to DatabaseSchema_mysql

Class

SchemaDatabaseSchema_mysql

Namespace

Drupal\schema

Code

public function getCreateTableSql($name, $table) {
  return parent::createTableSql($name, $table);
}