From 1a1cbd2dfb0c2d2a6ab9e151d5ae0cf7607bacba Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 24 Mar 2019 08:02:01 -0600 Subject: [PATCH] Update app_config.php --- app/meetings/app_config.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/meetings/app_config.php b/app/meetings/app_config.php index 34e10b9bdf..868c924ed3 100644 --- a/app/meetings/app_config.php +++ b/app/meetings/app_config.php @@ -106,6 +106,8 @@ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "meeting_user_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; @@ -118,11 +120,16 @@ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_meetings"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "meeting_uuid"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "user_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; - $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "user_uuid"; + $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; -?> \ No newline at end of file +?>