Commit aa6bc384 authored by mfer's avatar mfer

Updated .install file for postgresql

parent 17602d96
......@@ -12,6 +12,16 @@ function bloginfo_install() {
'PRIMARY KEY(uid) '.
') /*!40100 DEFAULT CHARACTER SET utf8 */');
break;
case 'pgsql':
$ins = db_query("CREATE TABLE {bloginfo} (
\"uid\" varchar(10) NOT NULL,
\"title\" varchar(128) NOT NULL,
\"description\" text NOT NULL,
UNIQUE (uid)
) ;
CREATE INDEX bloginfo_uid_idx ON {bloginfo} USING btree (uid);
");
break;
}
if ($ins) {
......
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