function db_create_table

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 database.inc db_create_table($name, $table)
cle7 database.inc db_create_table($name, $table)
elmsmedia7 database.inc db_create_table($name, $table)
icor7 database.inc db_create_table($name, $table)
meedjum_blog7 database.inc db_create_table($name, $table)
mooc7 database.inc db_create_table($name, $table)

Creates a new table from a Drupal table definition.

Parameters

$name: The name of the table to create.

$table: A Schema API table definition array.

Related topics

66 calls to db_create_table()
admin_menu_update_7300 in sites/all/modules/ulmus/admin_menu/admin_menu.install
Add {cache_admin_menu} table.
block_update_7006 in modules/block/block.install
Recreates cache_block table.
ctools_update_6002 in sites/all/modules/ulmus/ctools/ctools.install
Add the new css cache table.
DataTable::create in sites/all/modules/local_contrib/data/includes/DataTable.inc
Create a table.
data_ui_adjust_form_submit_create_table in sites/all/modules/local_contrib/data/data_ui/data_ui.admin.inc
Submit handler for data_ui_adjust_form().

... See full list

File

includes/database/database.inc, line 2716
Core systems for the database layer.

Code

function db_create_table($name, $table) {
  return Database::getConnection()->schema()->createTable($name, $table);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.