You are here

public function SchemaDatabaseSchema_pgsql::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/pgsql.inc, line 19
Schema module enhancements to DatabaseSchema_pgsql

Class

SchemaDatabaseSchema_pgsql
@file Schema module enhancements to DatabaseSchema_pgsql

Code

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