Dicecloud instances without db version numbers won't go into migration mode
This commit is contained in:
@@ -6,6 +6,7 @@ if (Meteor.isServer){
|
|||||||
const dbVersion = Migrations.getVersion();
|
const dbVersion = Migrations.getVersion();
|
||||||
if (
|
if (
|
||||||
!Meteor.settings.public.maintenanceMode &&
|
!Meteor.settings.public.maintenanceMode &&
|
||||||
|
dbVersion !== undefined &&
|
||||||
SCHEMA_VERSION !== dbVersion
|
SCHEMA_VERSION !== dbVersion
|
||||||
){
|
){
|
||||||
Meteor.settings.public.maintenanceMode = {
|
Meteor.settings.public.maintenanceMode = {
|
||||||
|
|||||||
Reference in New Issue
Block a user