mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Add ['type'] back to $field['key']['type'] as its used in many app_config.php files.
This commit is contained in:
@@ -72,10 +72,10 @@ include "root.php";
|
||||
else {
|
||||
$sql .= $field['type'];
|
||||
}
|
||||
if ($field['key'] == "primary") {
|
||||
if ($field['key']['type'] == "primary") {
|
||||
$sql .= " PRIMARY KEY";
|
||||
}
|
||||
if ($field['key'] == "foreign") {
|
||||
if ($field['key']['type'] == "foreign") {
|
||||
if ($this->db_type == "pgsql") {
|
||||
//$sql .= " references ".$field['key']['reference']['table']."(".$field['key']['reference']['field'].")";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user