Yii DB Migration 2.0

Yii DB Migration version 2.0.0 was released. In this version:

  • Add --force-yes (-y) option to migrate:create, migrate:up, migrate:down and migrate:redo
  • Use ColumnBuilder class to create table column definitions
  • Change supported PHP versions to 8.1 - 8.5 (@Tigrov,
  • Remove ext-filter from require section of composer.json
  • Replace deprecated self::getDefaultName() with $this->getName()
  • Remove AbstractMigrationBuilder
  • Refactor for compatibility with yiisoft/db package
  • 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 in yiisoft/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