diff options
Diffstat (limited to 'modules/contact/contact.install')
-rw-r--r-- | modules/contact/contact.install | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/modules/contact/contact.install b/modules/contact/contact.install index 14e3c737d..608167631 100644 --- a/modules/contact/contact.install +++ b/modules/contact/contact.install @@ -15,5 +15,18 @@ function contact_install() { PRIMARY KEY (cid), UNIQUE KEY category (category) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ "); + break; + case 'pgsql': + db_query("CREATE TABLE {contact} ( + cid serial CHECK (cid >= 0), + category varchar(255) NOT NULL default '', + recipients text NOT NULL default '', + reply text NOT NULL default '', + weight smallint NOT NULL default '0', + selected smallint NOT NULL default '0', + PRIMARY KEY (cid), + UNIQUE (category) + )"); + break; } -}
\ No newline at end of file +} |