public function SchemaDatabaseSchema_mysql::getCreateTableSql in Schema 7
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
- engines/
mysql.inc, line 19 - Schema module enhancements to DatabaseSchema_mysql
Class
- SchemaDatabaseSchema_mysql
- @file Schema module enhancements to DatabaseSchema_mysql
Code
public function getCreateTableSql($name, $table) {
return parent::createTableSql($name, $table);
}