This commit is contained in:
@@ -1330,9 +1330,9 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
||||
where t.baselanguage = 'en'
|
||||
*/
|
||||
|
||||
//MAKE SURE THE DESIRED SCHEMA WAS SET PROPERLY
|
||||
//Handle newer schema than expected (user ran a new version then downgraded ayanova)
|
||||
if (currentSchema > DESIRED_SCHEMA_LEVEL)
|
||||
throw new ArgumentOutOfRangeException("AySchema::DesiredSchemaLevel WASN'T SET PROPERLY");
|
||||
throw new ArgumentOutOfRangeException($"DB Schema error: the database has a newer schema version {currentSchema} than this version of AyaNova expects {DESIRED_SCHEMA_LEVEL}\nThis version of AyaNova is older than a previous version that was used with this database and is not compatible with the new database format.\nUpgrade AyaNova or restore a backup of the database from before the newer version of AyaNova was used.");
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user