Happy New Year and Merry Christmas!
- Dec 30, 2022
We are talking about the fact that we have already done the project and have a database, but there are no migrations designed according to the rules of yii2.
To solve this problem, you can google and find a ready-made solution. Actually an example of using exactly one of the solutions.
"tmukherjee13/yii2-reverse-migration": "*"
'controllerMap' => [ 'migration' => [ 'class' => 'tmukherjee13\migration\console\controllers\MigrationController', 'templateFile' => '@tmukherjee13/migration/views/template.php', ], ],
yii migration/table your-table-name
All Comments (0)