yii2 - create migration file for module

voted: 0
yii2 migration module console

To create module migration in module folder --migrationPath can be used. In console navigate to project root and use following command to create migration file.

yii migrate/create --migrationPath=@app/modules/module_name/migrations migration_name
working url: not entered
version: 2
Leave a Comment:
Characters left:
No comments yet.