mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Call the update_indexes method when updating the Schema
This commit is contained in:
@@ -235,6 +235,14 @@
|
||||
echo " ".trim($row)."\n";
|
||||
}
|
||||
}
|
||||
|
||||
//update database foreign key indexes
|
||||
$response = $database->update_indexes();
|
||||
if ($display_type === 'text') {
|
||||
foreach($response as $row) {
|
||||
echo " ".trim($row['sql'])."\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user