mirror of
https://github.com/friendica/friendica
synced 2025-04-23 20:30:10 +00:00
Remove group_member.uid
- Use contact.uid alternatively - Use JOIN with group table
This commit is contained in:
parent
afbfbde112
commit
179b311978
6 changed files with 8 additions and 11 deletions
|
@ -990,7 +990,6 @@ class DBStructure {
|
|||
$database["group_member"] = array(
|
||||
"fields" => array(
|
||||
"id" => array("type" => "int(10) unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1"),
|
||||
"uid" => array("type" => "int(10) unsigned", "not null" => "1", "default" => "0", "relation" => array("user" => "uid")),
|
||||
"gid" => array("type" => "int(10) unsigned", "not null" => "1", "default" => "0", "relation" => array("group" => "id")),
|
||||
"contact-id" => array("type" => "int(10) unsigned", "not null" => "1", "default" => "0", "relation" => array("contact" => "id")),
|
||||
),
|
||||
|
@ -998,7 +997,6 @@ class DBStructure {
|
|||
"PRIMARY" => array("id"),
|
||||
"contactid" => array("contact-id"),
|
||||
"gid_contactid" => array("gid", "contact-id"),
|
||||
"uid_gid_contactid" => array("UNIQUE", "uid", "gid", "contact-id"),
|
||||
)
|
||||
);
|
||||
$database["gserver"] = array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue