Call Block: Fix the references to foreign keys and rename blocked_caller_uuid to call_block_uuid to conform to the naming convention.

This commit is contained in:
Mark Crane
2013-09-12 07:58:56 +00:00
parent 7241820246
commit 457b3c6c7e
6 changed files with 18 additions and 14 deletions
+5 -1
View File
@@ -68,11 +68,15 @@
$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_domains';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'blocked_caller_uuid';
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'call_block_uuid';
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'blocked_caller_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'] = 'primary';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'blocked_caller_name';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';