Commit 4b4a3986 authored by drumm's avatar drumm
Browse files

#77179 by asimmonds, don't execute both MySQL and Postgres quesries on install of a couple modules.

parent 476972cc
......@@ -31,6 +31,8 @@ function poll_install() {
PRIMARY KEY (chid),
KEY nid (nid)
) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
break;
case 'pgsql':
db_query("CREATE TABLE {poll} (
nid uint NOT NULL default '0',
......
......@@ -31,6 +31,8 @@ function profile_install() {
KEY uid (uid),
KEY fid (fid)
) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
break;
case 'pgsql':
db_query("CREATE TABLE {profile_fields} (
fid serial,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment