1 database.inc | db_create_table($name, $table) |
Creates a new table from a Backdrop table definition.
Parameters
$name: The name of the table to create.
$table: A Schema API table definition array.
Related topics
File
- core/
includes/ database/ database.inc, line 2842 - Core systems for the database layer.
Code
function db_create_table($name, $table) {
Database::getConnection()->schema()->createTable($name, $table);
}