Yii DB Migration version 2.0.0 was released. In this version:
- Add
--force-yes(-y) option tomigrate:create,migrate:up,migrate:downandmigrate:redo - Use
ColumnBuilderclass to create table column definitions - Change supported PHP versions to
8.1 - 8.5(@Tigrov, - Remove
ext-filterfromrequiresection ofcomposer.json - Replace deprecated
self::getDefaultName()with$this->getName() - Remove
AbstractMigrationBuilder - Refactor for compatibility with
yiisoft/dbpackage - Adapt to Yii DB changes
- Minor refactoring
- Revert transactional migration when adding migration to history fails
- Improve base migration template
- Update
MigrationBuilder::update()method to adapt changes inyiisoft/db - Add
MigrationBuilder::columnBuilder()method - Explicitly mark readonly properties
- Fix when there is a namespace but the directory does not exist
- Explicitly mark nullable parameters