"global" flag for terms that indicate if the term is present in the global posts.

This commit is contained in:
Michael Vogel 2015-03-08 03:27:14 +01:00
parent e2965c9ec5
commit 2260415ca9
2 changed files with 35 additions and 7 deletions

View file

@ -1193,6 +1193,7 @@ function db_definition() {
"guid" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
"created" => array("type" => "datetime", "not null" => "1", "default" => "0000-00-00 00:00:00"),
"received" => array("type" => "datetime", "not null" => "1", "default" => "0000-00-00 00:00:00"),
"global" => array("type" => "tinyint(1)", "not null" => "1", "default" => "0"),
"aid" => array("type" => "int(10) unsigned", "not null" => "1", "default" => "0"),
"uid" => array("type" => "int(10) unsigned", "not null" => "1", "default" => "0"),
),
@ -1203,6 +1204,7 @@ function db_definition() {
"type_term" => array("type","term"),
"uid_otype_type_term_created" => array("uid","otype","type","term","created"),
"otype_type_term_tid" => array("otype","type","term","tid"),
"guid" => array("guid"),
)
);
$database["thread"] = array(