From 67bb0673ef6c97db7d7cda1afcf7f177265504f1 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 9 May 2015 20:22:19 +0000 Subject: [PATCH] Menu manager needs group_uuid to get off relating by group_name. Add group_uuid to the app_config.php. --- core/menu/app_config.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/menu/app_config.php b/core/menu/app_config.php index 13a6810f54..4df51814ad 100644 --- a/core/menu/app_config.php +++ b/core/menu/app_config.php @@ -225,6 +225,15 @@ $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_name"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_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]['key']['type'] = "foreign"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_groups"; + $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "group_uuid"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $y = 3; //table array index $z = 0; //field array index