I want to automate the deployment of a Yii2 project on a production server. Therefore, I have few questions. Assuming the production server has just created and does not have any file of my project.
- Migration. Everything is clear about the team there
yii migrate/up, but what if I have an rbac migration that is deploying ./yii migrate/up --migrationPath @yii/rbac. Can I deploy all the migrations that I use in one command? - Translations. Am I dumping the translation table and deploying it only by importing an SQL dump, or is there another way?
source
share