You are here

function spaces_ui_install in Spaces 5.2

Same name and namespace in other branches
  1. 5 spaces_ui.install \spaces_ui_install()

Implementaton of hook_install().

File

./spaces_ui.install, line 6

Code

function spaces_ui_install() {
  switch ($GLOBALS['db_type']) {
    case 'mysqli':
    case 'mysql':
      db_query("CREATE TABLE {spaces_features_ui} (\n        feature varchar(30) NOT NULL default '',\n        value longtext NOT NULL default '',\n        PRIMARY KEY (feature)\n        ) /*!40100 DEFAULT CHARACTER SET UTF8 */");
  }
}