refactor: schema updates (#6370)

Test the schema files with STRICT_TRANS_TABLES and fix any issues
This commit is contained in:
Tony Murray
2017-04-13 04:18:12 -05:00
committed by Neil Lathwood
parent c5c643f901
commit 72ce39cf9b
20 changed files with 96 additions and 87 deletions

View File

@@ -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));