Add domain_uuid to the voicemail destinations table.
This commit is contained in:
parent
d21134bd28
commit
d8faaff083
|
|
@ -164,6 +164,12 @@
|
|||
$y = 2; //table array index
|
||||
$z = 0; //field array index
|
||||
$apps[$x]['db'][$y]['table'] = "v_voicemail_destinations";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_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";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_destination_uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
|
|
|
|||
|
|
@ -90,15 +90,17 @@ else {
|
|||
$voicemail_uuid_copy = check_str($_REQUEST["voicemail_uuid_copy"]);
|
||||
//assign the user to the extension
|
||||
$sqli = "
|
||||
insert into
|
||||
v_voicemail_destinations
|
||||
insert into
|
||||
v_voicemail_destinations
|
||||
(
|
||||
domain_uuid,
|
||||
voicemail_destination_uuid,
|
||||
voicemail_uuid,
|
||||
voicemail_uuid_copy
|
||||
)
|
||||
values
|
||||
(
|
||||
'".$domain_uuid."',
|
||||
'".uuid()."',
|
||||
'".$voicemail_uuid."',
|
||||
'".$voicemail_uuid_copy."'
|
||||
|
|
|
|||
Loading…
Reference in New Issue