The condition:
if (fileModelVersion < dbVersions[f.model]) {
changed back to:
if (fileModelVersion <= dbVersions[f.model]) {
Reason:
if (fileModelVersion < dbVersions[f.model]) {
did not excluded the current version's scripts and they were executed right after initialization on clean DB. It some cases (DocNet) it caused problems during rolling new environments.History: