Releases: bizley/yii2-migration
Releases · bizley/yii2-migration
4.4.3
4.4.2
- Fixed nullable deprecations for PHP 8.4
- Updates phpdocs and vardocs for PHPStan
- Dropped support for PHP 7.2
Thank you @craiglondon for your contribution!
4.4.1
4.4.0
4.3.1
4.3.0
- When multiple migrations are generated they are not saved with additional
_n_stamp (whennis the number of the next migration) anymore. Instead they are saved with just the timestamp that is not repeated for other migrations in the batch. Thanks to that it is safe to runmigrate/mark,migrate/to, and similar Yii commands with such migrations. In case there are possible timestamp collisions with existing migrations user will get a warning first. - Added
leeway(lw) option to add seconds to the starting timestamp for migrations generation. - Fixed issue with foreign key autoindex generated for MySQL update migrations comparison.
Many thanks to @karolls for reporting these cases.
4.2.0
- Added
fileModeoption to set the file permissions for generated migrations (int|string|null, defaultnull, expects integer value like0777or integerish string convertable to integer). - Added
fileOwnershipoption to set the file ownership for generated migrations (string|int|array<int|string, int|string>|null, defaultnull, can be integer user id, string user name, string user:group combination, string user: or :group only, or array with [user, group] or ['user' => user, 'group' => group] data). - Changing file permission and group is done through Yii 2.0.43
FileHelper::changeOwnership()or the internal fallback in case of older Yii versions. - Refactored some code a bit.
- Added more tests.
- Improved mutation score.