mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: schema updates (#6370)
Test the schema files with STRICT_TRANS_TABLES and fix any issues
This commit is contained in:
committed by
Neil Lathwood
parent
c5c643f901
commit
72ce39cf9b
@@ -1103,7 +1103,7 @@ function version_info($remote = true)
|
||||
$output['local_date'] = $local_date;
|
||||
$output['local_branch'] = rtrim(`git rev-parse --abbrev-ref HEAD`);
|
||||
}
|
||||
$output['db_schema'] = dbFetchCell('SELECT version FROM dbSchema');
|
||||
$output['db_schema'] = get_db_schema();
|
||||
$output['php_ver'] = phpversion();
|
||||
$output['mysql_ver'] = dbFetchCell('SELECT version()');
|
||||
$output['rrdtool_ver'] = implode(' ', array_slice(explode(' ', shell_exec($config['rrdtool'].' --version |head -n1')), 1, 1));
|
||||
|
Reference in New Issue
Block a user