function og_update_13 in Organic groups 5.3
Same name and namespace in other branches
- 5.8 og.install \og_update_13()
- 5 og.install \og_update_13()
- 5.2 og.install \og_update_13()
- 5.7 og.install \og_update_13()
File
- ./
og.install, line 302
Code
function og_update_13() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {og_uid_global} (\n uid int(11) NOT NULL,\n og_email int(11) NOT NULL DEFAULT 2,\n PRIMARY KEY (uid)\n ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
break;
case 'pgsql':
db_query("CREATE TABLE {og_uid_global} (\n uid int NOT NULL,\n og_email int NOT NULL DEFAULT 2,\n PRIMARY KEY (uid)\n );");
break;
}
return array();
}