"site-pubkey" => array("type" => "text"),
"issued-id" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
"dfrn-id" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
- "url" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
+ "url" => array("type" => "varchar(255)", "not null" => "1", "default" => "", "collation" => "bin"),
"nurl" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
"addr" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
"alias" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
"indexes" => array(
"PRIMARY" => array("id"),
"uid" => array("uid"),
- "addr_uid" => array("addr", "uid"),
- "nurl" => array("nurl"),
+ "addr_uid" => array("addr(32)", "uid"),
+ "nurl" => array("nurl(32)"),
)
);
$database["conv"] = array(
),
"indexes" => array(
"PRIMARY" => array("id"),
- "addr" => array("addr"),
+ "addr" => array("addr(32)"),
)
);
$database["ffinder"] = array(
),
"indexes" => array(
"PRIMARY" => array("id"),
- "server" => array("server"),
+ "server" => array("server(32)"),
)
);
$database["fsuggest"] = array(
),
"indexes" => array(
"PRIMARY" => array("id"),
- "nurl" => array("nurl"),
- "name" => array("name"),
- "nick" => array("nick"),
- "addr" => array("addr"),
+ "nurl" => array("nurl(32)"),
+ "name" => array("name(32)"),
+ "nick" => array("nick(32)"),
+ "addr" => array("addr(32)"),
"updated" => array("updated"),
)
);
),
"indexes" => array(
"PRIMARY" => array("id"),
- "nurl" => array("nurl"),
+ "nurl" => array("nurl(32)"),
)
);
$database["hook"] = array(
"uid_created" => array("uid","created"),
"uid_unseen_contactid" => array("uid","unseen","contact-id"),
"uid_network_received" => array("uid","network","received"),
- // "uid_received" => array("uid","received"),
+ "uid_received" => array("uid","received"),
"uid_network_commented" => array("uid","network","commented"),
// "uid_commented" => array("uid","commented"),
- // "uid_title" => array("uid","title"),
+ "uid_title" => array("uid","title"),
"uid_thrparent" => array("uid","thr-parent"),
"uid_parenturi" => array("uid","parent-uri"),
"uid_contactid_id" => array("uid","contact-id","id"),
// "uid_visible_moderated_created" => array("uid","visible","moderated","created"),
"uid_uri" => array("uid", "uri"),
"uid_wall_created" => array("uid","wall","created"),
- // "resource-id" => array("resource-id"),
+ "resource-id" => array("resource-id"),
"uid_type" => array("uid","type"),
// "uid_starred_id" => array("uid","starred", "id"),
"contactid_allowcid_allowpid_denycid_denygid" => array("contact-id","allow_cid(10)","allow_gid(10)","deny_cid(10)","deny_gid(10)"),
- "uid_wall_parent_created" => array("uid","wall","parent","created"),
+ // "uid_wall_parent_created" => array("uid","wall","parent","created"),
"uid_type_changed" => array("uid","type","changed"),
"contactid_verb" => array("contact-id","verb"),
"deleted_changed" => array("deleted","changed"),
"uid_wall_changed" => array("uid","wall","changed"),
"uid_eventid" => array("uid","event-id"),
"uid_authorlink" => array("uid","author-link"),
- // "uid_ownerlink" => array("uid","owner-link"),
+ "uid_ownerlink" => array("uid","owner-link"),
)
);
$database["item_id"] = array(
"PRIMARY" => array("id"),
"uid" => array("uid"),
"sid" => array("sid"),
- "service" => array("service"),
+ "service" => array("service(32)"),
"iid" => array("iid"),
)
);
"PRIMARY" => array("id"),
"uid" => array("uid"),
// "guid" => array("guid"),
- // "convid" => array("convid"),
+ "convid" => array("convid"),
// "reply" => array("reply"),
"uri" => array("uri"),
- "parent-uri" => array("parent-uri"),
+ "parent-uri" => array("parent-uri(64)"),
)
);
$database["mailacct"] = array(
"PRIMARY" => array("id"),
"uid_contactid" => array("uid", "contact-id"),
"uid_profile" => array("uid", "profile"),
- "uid_album_created" => array("uid", "album", "created"),
- "resource-id" => array("resource-id"),
+ "uid_album_created" => array("uid", "album(32)", "created"),
+ "resource-id" => array("resource-id(64)"),
// "guid" => array("guid"),
)
);
),
"indexes" => array(
"PRIMARY" => array("id"),
- "hometown" => array("hometown"),
+ // "hometown" => array("hometown(32)"),
)
);
$database["profile_check"] = array(
"cid" => array("cid"),
"created" => array("created"),
"last" => array("last"),
- // "network" => array("network"),
+ "network" => array("network"),
"batch" => array("batch"),
)
);
"indexes" => array(
"PRIMARY" => array("id"),
"uid" => array("uid"),
- "term" => array("term"),
+ // "term" => array("term(32)"),
)
);
$database["session"] = array(
),
"indexes" => array(
"PRIMARY" => array("id"),
- "sid" => array("sid"),
+ "sid" => array("sid(64)"),
"expire" => array("expire"),
)
);
"indexes" => array(
"PRIMARY" => array("tid"),
"oid_otype_type_term" => array("oid","otype","type","term"),
- "uid_term_tid" => array("uid","term","tid"),
- "type_term" => array("type","term"),
- "uid_otype_type_term_global_created" => array("uid","otype","type","term","global","created"),
+ "uid_term_tid" => array("uid","term(32)","tid"),
+ "type_term" => array("type","term(32)"),
+ "uid_otype_type_term_global_created" => array("uid","otype","type","term(32)","global","created"),
// "otype_type_term_tid" => array("otype","type","term","tid"),
- "uid_otype_type_url" => array("uid","otype","type","url"),
- "guid" => array("guid"),
+ "uid_otype_type_url" => array("uid","otype","type","url(64)"),
+ "guid" => array("guid(64)"),
)
);
$database["thread"] = array(
// "uid_gcontactid_created" => array("uid","gcontact-id","created"),
// "wall_private_received" => array("wall","private","received"),
"uid_created" => array("uid","created"),
- // "uid_commented" => array("uid","commented"),
+ "uid_commented" => array("uid","commented"),
)
);
$database["tokens"] = array(
),
"indexes" => array(
"PRIMARY" => array("uid"),
- "nickname" => array("nickname"),
+ "nickname" => array("nickname(32)"),
)
);
$database["userd"] = array(
),
"indexes" => array(
"PRIMARY" => array("id"),
- "username" => array("username"),
+ "username" => array("username(32)"),
)
);
$database["workerqueue"] = array(