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
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user