|
@@ -19,7 +19,7 @@
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
|
|
|
|
|
//permission details
|
|
|
- $y = 0;
|
|
|
+ $y=0;
|
|
|
$apps[$x]['permissions'][$y]['name'] = "menu_view";
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
$y++;
|
|
@@ -72,9 +72,10 @@
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
|
|
|
|
|
//schema details
|
|
|
- $y = 0; //table array index
|
|
|
- $z = 0; //field array index
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_menus";
|
|
|
+ $y=0;
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_menus";
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "";
|
|
|
+ $z=0;
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_id";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
@@ -104,9 +105,10 @@
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
|
|
$z++;
|
|
|
|
|
|
- $y = 1; //table array index
|
|
|
- $z = 0; //field array index
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_menu_items";
|
|
|
+ $y++;
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_menu_items";
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_menus";
|
|
|
+ $z=0;
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_item_id";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
@@ -186,9 +188,10 @@
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
|
|
|
|
|
- $y = 2; //table array index
|
|
|
- $z = 0; //field array index
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_menu_item_groups";
|
|
|
+ $y++;
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_menu_item_groups";
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_menu_items";
|
|
|
+ $z=0;
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "menu_group_name";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
|
|
@@ -238,9 +241,10 @@
|
|
|
$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
|
|
|
- $apps[$x]['db'][$y]['table'] = "v_menu_languages";
|
|
|
+ $y++;
|
|
|
+ $apps[$x]['db'][$y]['table']['name'] = "v_menu_languages";
|
|
|
+ $apps[$x]['db'][$y]['table']['parent'] = "v_menus";
|
|
|
+ $z=0;
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "menu_language_uuid";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|