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

@@ -23,9 +23,9 @@ $poller_start = microtime(true);
echo "Starting Polling Session ... \n\n";
// Wait for schema update, as running during update can break update
$dbVersion = dbFetchCell('SELECT version FROM dbSchema');
$dbVersion = get_db_schema();
if ($dbVersion < 107) {
logfile("BILLING: Cannot continue until dbSchema update to >= 107 is complete");
logfile("BILLING: Cannot continue until the database schema update to >= 107 is complete");
exit(1);
}