Commit dde51972 authored by mfer's avatar mfer

update .install for new database schema

parent 3aa6cfa5
......@@ -9,6 +9,7 @@ function bloginfo_install() {
'uid varchar(10) NOT NULL, '.
'title varchar(128) NOT NULL, '.
'description text NOT NULL, '.
"format int NOT NULL default '0',".
'PRIMARY KEY(uid) '.
') /*!40100 DEFAULT CHARACTER SET utf8 */');
break;
......@@ -17,7 +18,8 @@ function bloginfo_install() {
\"uid\" varchar(10) NOT NULL,
\"title\" varchar(128) NOT NULL,
\"description\" text NOT NULL,
UNIQUE (uid)
\"format\" int NOT NULL default '0',
UNIQUE (uid)
) ;
CREATE INDEX bloginfo_uid_idx ON {bloginfo} USING btree (uid);
");
......
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