autoMigrateDatabasesetting: this will automatically migrate the database to the latest schema version when the application starts.
config/production.cfmsettings, to ensure it only fires in production mode.
set(allowEnvironmentSwitchViaUrl=false)- this will disable
?reload=maintenancestyle URLs where there is a configuration change, but simple reloading such as
?reload=truewill still work. This setting should be approached with caution, as once you've entered into a mode with this setting on, you can't then switch out of it.