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