> :bulb: It is recommended to keep structural (schema) and data-only migrations separated.
> :bulb: It is recommended to keep structural and data migrations separated.
Lookup paths for migrations can be defined in application configuration, for details see [dmstr/yii2-migrate-command](https://github.com/dmstr/yii2-migrate-command/blob/master/README.md).
- For development add the development-data migrations via ENV variable in `docker-compose.dev.yml`
Do not forget to add the migration path to the configuration
APP_MIGRATION_LOOKUP=@project/migrations/dev-data
'params' => [
## Additional information
If you create initial data for the application, which is required and should always be inserted in inital setup, do not forget to add the migration path to the configuration
Lookup paths for migrations can be defined in application configuration, for details see [dmstr/yii2-migrate-command](https://github.com/dmstr/yii2-migrate-command/blob/master/README.md).