This will ensure strict mode is not applied while running migrations
for both modules and plugins, either when installing or removing.
We don't need to call disableStrictMode from UpdateManager::uninstall()
as it is called within the plugin removal methods, which are run first.
To force strict mode to be enabled, set 'strict' => true in the database config.