You are here

public function SchemaDatabaseSchema_pgsql::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_pgsql.php, line 22
Schema module enhancements to DatabaseSchema_pgsql

Class

SchemaDatabaseSchema_pgsql

Namespace

Drupal\schema

Code

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