Please don't change the project config in a migration without security checks, this will throw errors since not everyone allows admin changes in production environment.
That means releasing your plugin in production mode with the correct usage of the project config always throws exceptions for me.
Exception: Changes to the project config are not possible while in read-only mode. (/var/www/thaff/htdocs/page/vendor/craftcms/cms/src/services/ProjectConfig.php:354)
Please read this
https://docs.craftcms.com/v3/extend/project-config.html#project-config-migrations
Please don't change the project config in a migration without security checks, this will throw errors since not everyone allows admin changes in production environment.
That means releasing your plugin in production mode with the correct usage of the project config always throws exceptions for me.
Please read this
https://docs.craftcms.com/v3/extend/project-config.html#project-config-migrations