Add database driver to along with type it helps distinguish which type of database is being used when using odbc. Added app_defaults to core/databases so that the script config.lua can be created when the database is saved and upgraded. Previously it only saved a new config.lua when running upgrade or upgrade schema which was not intuitive.

This commit is contained in:
Mark Crane
2012-07-17 15:56:32 +00:00
parent 39f6ff0c13
commit c344400c82
4 changed files with 279 additions and 170 deletions

View File

@@ -54,6 +54,11 @@
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = '';
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'database_driver';
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'db_type';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Select the database driver.';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'database_type';
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'db_type';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';