Add group_uuid to the destinations table.

This commit is contained in:
FusionPBX
2021-12-14 21:49:29 -07:00
committed by GitHub
parent 4b68118d3e
commit 6e8fd019b2

View File

@@ -236,6 +236,14 @@
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_users";
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "user_uuid";
$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";
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "destination_type";
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "destination_name";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";