├── .php-cs-fixer.dist.php ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── UPGRADE.md ├── bin ├── yii-db-migration └── yii-db-migration.php ├── composer-require-checker.json ├── composer.json ├── config ├── di-console.php └── params.php ├── resources └── views │ ├── _addColumns.php │ ├── _addComments.php │ ├── _addForeignKeys.php │ ├── _createTable.php │ ├── _dropColumns.php │ ├── _dropForeignKeys.php │ ├── _dropTable.php │ ├── _foreignTables.php │ ├── addColumnMigration.php │ ├── createTableMigration.php │ ├── dropColumnMigration.php │ ├── dropTableMigration.php │ └── migration.php ├── src ├── AbstractMigrationBuilder.php ├── Command │ ├── CreateCommand.php │ ├── DownCommand.php │ ├── HistoryCommand.php │ ├── NewCommand.php │ ├── RedoCommand.php │ └── UpdateCommand.php ├── Informer │ ├── ConsoleMigrationInformer.php │ ├── MigrationInformerInterface.php │ └── NullMigrationInformer.php ├── MigrationBuilder.php ├── MigrationInterface.php ├── Migrator.php ├── RevertibleMigrationInterface.php ├── Runner │ ├── DownRunner.php │ └── UpdateRunner.php ├── Service │ ├── Generate │ │ ├── Column.php │ │ ├── CreateService.php │ │ ├── FieldsParser.php │ │ ├── ForeignKey.php │ │ ├── ForeignKeyFactory.php │ │ └── PhpRenderer.php │ └── MigrationService.php └── TransactionalMigrationInterface.php ├── tests ├── Common │ ├── AbstractMigrationBuilderTest.php │ ├── AbstractMigratorTest.php │ ├── Command │ │ ├── AbstractCreateCommandTest.php │ │ ├── AbstractDownCommandTest.php │ │ ├── AbstractHistoryCommandTest.php │ │ ├── AbstractNewCommandTest.php │ │ ├── AbstractRedoCommandTest.php │ │ └── AbstractUpdateCommandTest.php │ ├── Runner │ │ ├── AbstractDownRunnerTest.php │ │ └── AbstractUpRunnerTest.php │ └── Service │ │ ├── AbstractMigrationServiceTest.php │ │ ├── Database │ │ └── AbstractListTablesServiceTest.php │ │ └── Generate │ │ └── AbstractCreateServiceTest.php ├── Driver │ ├── Mssql │ │ ├── CreateCommandTest.php │ │ ├── CreateServiceTest.php │ │ ├── DownCommandTest.php │ │ ├── DownRunnerTest.php │ │ ├── HistoryCommandTest.php │ │ ├── MigrationBuilderTest.php │ │ ├── MigrationServiceTest.php │ │ ├── MigratorTest.php │ │ ├── NewCommandTest.php │ │ ├── RedoCommandTest.php │ │ ├── UpRunnerTest.php │ │ └── UpdateCommandTest.php │ ├── Mysql │ │ ├── CreateCommandTest.php │ │ ├── CreateServiceTest.php │ │ ├── DownCommandTest.php │ │ ├── DownRunnerTest.php │ │ ├── HistoryCommandTest.php │ │ ├── MigrationBuilderTest.php │ │ ├── MigrationServiceTest.php │ │ ├── MigratorTest.php │ │ ├── NewCommandTest.php │ │ ├── RedoCommandTest.php │ │ ├── UpRunnerTest.php │ │ └── UpdateCommandTest.php │ ├── Oracle │ │ ├── CreateCommandTest.php │ │ ├── CreateServiceTest.php │ │ ├── DownCommandTest.php │ │ ├── DownRunnerTest.php │ │ ├── HistoryCommandTest.php │ │ ├── MigrationBuilderTest.php │ │ ├── MigrationServiceTest.php │ │ ├── MigratorTest.php │ │ ├── NewCommandTest.php │ │ ├── RedoCommandTest.php │ │ ├── UpRunnerTest.php │ │ └── UpdateCommandTest.php │ ├── Pgsql │ │ ├── CreateCommandTest.php │ │ ├── CreateServiceTest.php │ │ ├── DownCommandTest.php │ │ ├── DownRunnerTest.php │ │ ├── HistoryCommandTest.php │ │ ├── MigrationBuilderTest.php │ │ ├── MigrationServiceTest.php │ │ ├── MigratorTest.php │ │ ├── NewCommandTest.php │ │ ├── RedoCommandTest.php │ │ ├── UpRunnerTest.php │ │ └── UpdateCommandTest.php │ └── Sqlite │ │ ├── CreateCommandTest.php │ │ ├── CreateServiceTest.php │ │ ├── DownCommandTest.php │ │ ├── DownRunnerTest.php │ │ ├── HistoryCommandTest.php │ │ ├── MigrationBuilderTest.php │ │ ├── MigrationServiceTest.php │ │ ├── MigratorTest.php │ │ ├── NewCommandTest.php │ │ ├── RedoCommandTest.php │ │ ├── UpRunnerTest.php │ │ └── UpdateCommandTest.php ├── Migration │ ├── BinTest.php │ ├── ConfigTest.php │ ├── NullMigrationInformerTest.php │ ├── Service │ │ └── MigrationServiceTest.php │ └── bin-runner.php ├── Support │ ├── AssertTrait.php │ ├── Factory │ │ ├── MssqlFactory.php │ │ ├── MysqlFactory.php │ │ ├── OracleFactory.php │ │ ├── PostgreSqlFactory.php │ │ └── SqLiteFactory.php │ ├── Helper │ │ ├── CommandHelper.php │ │ ├── ContainerConfig.php │ │ ├── ContainerHelper.php │ │ ├── DbHelper.php │ │ └── MigrationHelper.php │ ├── Migrations │ │ ├── M231015155500ExecuteSql.php │ │ ├── M231017150317EmptyDown.php │ │ ├── M250312122400ChangeDbPrefixUp.php │ │ └── M250312122500ChangeDbPrefixDown.php │ ├── MigrationsExtra │ │ └── M231108183919Empty.php │ ├── MigrationsExtra2 │ │ └── M231108183919Empty2.php │ ├── Provider │ │ └── ColumnTypes.php │ └── Stub │ │ ├── StubMigration.php │ │ ├── StubMigrationInformer.php │ │ └── StubRevertibleMigration.php └── runtime │ └── .gitignore └── tools ├── .gitignore ├── infection └── composer.json └── psalm └── composer.json /.php-cs-fixer.dist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/.php-cs-fixer.dist.php -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/README.md -------------------------------------------------------------------------------- /UPGRADE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/UPGRADE.md -------------------------------------------------------------------------------- /bin/yii-db-migration: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/bin/yii-db-migration -------------------------------------------------------------------------------- /bin/yii-db-migration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/bin/yii-db-migration.php -------------------------------------------------------------------------------- /composer-require-checker.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/composer-require-checker.json -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/composer.json -------------------------------------------------------------------------------- /config/di-console.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/config/di-console.php -------------------------------------------------------------------------------- /config/params.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/config/params.php -------------------------------------------------------------------------------- /resources/views/_addColumns.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/_addColumns.php -------------------------------------------------------------------------------- /resources/views/_addComments.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/_addComments.php -------------------------------------------------------------------------------- /resources/views/_addForeignKeys.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/_addForeignKeys.php -------------------------------------------------------------------------------- /resources/views/_createTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/_createTable.php -------------------------------------------------------------------------------- /resources/views/_dropColumns.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/_dropColumns.php -------------------------------------------------------------------------------- /resources/views/_dropForeignKeys.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/_dropForeignKeys.php -------------------------------------------------------------------------------- /resources/views/_dropTable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/_dropTable.php -------------------------------------------------------------------------------- /resources/views/_foreignTables.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/_foreignTables.php -------------------------------------------------------------------------------- /resources/views/addColumnMigration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/addColumnMigration.php -------------------------------------------------------------------------------- /resources/views/createTableMigration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/createTableMigration.php -------------------------------------------------------------------------------- /resources/views/dropColumnMigration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/dropColumnMigration.php -------------------------------------------------------------------------------- /resources/views/dropTableMigration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/dropTableMigration.php -------------------------------------------------------------------------------- /resources/views/migration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/resources/views/migration.php -------------------------------------------------------------------------------- /src/AbstractMigrationBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/AbstractMigrationBuilder.php -------------------------------------------------------------------------------- /src/Command/CreateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Command/CreateCommand.php -------------------------------------------------------------------------------- /src/Command/DownCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Command/DownCommand.php -------------------------------------------------------------------------------- /src/Command/HistoryCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Command/HistoryCommand.php -------------------------------------------------------------------------------- /src/Command/NewCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Command/NewCommand.php -------------------------------------------------------------------------------- /src/Command/RedoCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Command/RedoCommand.php -------------------------------------------------------------------------------- /src/Command/UpdateCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Command/UpdateCommand.php -------------------------------------------------------------------------------- /src/Informer/ConsoleMigrationInformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Informer/ConsoleMigrationInformer.php -------------------------------------------------------------------------------- /src/Informer/MigrationInformerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Informer/MigrationInformerInterface.php -------------------------------------------------------------------------------- /src/Informer/NullMigrationInformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Informer/NullMigrationInformer.php -------------------------------------------------------------------------------- /src/MigrationBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/MigrationBuilder.php -------------------------------------------------------------------------------- /src/MigrationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/MigrationInterface.php -------------------------------------------------------------------------------- /src/Migrator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Migrator.php -------------------------------------------------------------------------------- /src/RevertibleMigrationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/RevertibleMigrationInterface.php -------------------------------------------------------------------------------- /src/Runner/DownRunner.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Runner/DownRunner.php -------------------------------------------------------------------------------- /src/Runner/UpdateRunner.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Runner/UpdateRunner.php -------------------------------------------------------------------------------- /src/Service/Generate/Column.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Service/Generate/Column.php -------------------------------------------------------------------------------- /src/Service/Generate/CreateService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Service/Generate/CreateService.php -------------------------------------------------------------------------------- /src/Service/Generate/FieldsParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Service/Generate/FieldsParser.php -------------------------------------------------------------------------------- /src/Service/Generate/ForeignKey.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Service/Generate/ForeignKey.php -------------------------------------------------------------------------------- /src/Service/Generate/ForeignKeyFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Service/Generate/ForeignKeyFactory.php -------------------------------------------------------------------------------- /src/Service/Generate/PhpRenderer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Service/Generate/PhpRenderer.php -------------------------------------------------------------------------------- /src/Service/MigrationService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/Service/MigrationService.php -------------------------------------------------------------------------------- /src/TransactionalMigrationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/src/TransactionalMigrationInterface.php -------------------------------------------------------------------------------- /tests/Common/AbstractMigrationBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/AbstractMigrationBuilderTest.php -------------------------------------------------------------------------------- /tests/Common/AbstractMigratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/AbstractMigratorTest.php -------------------------------------------------------------------------------- /tests/Common/Command/AbstractCreateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Command/AbstractCreateCommandTest.php -------------------------------------------------------------------------------- /tests/Common/Command/AbstractDownCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Command/AbstractDownCommandTest.php -------------------------------------------------------------------------------- /tests/Common/Command/AbstractHistoryCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Command/AbstractHistoryCommandTest.php -------------------------------------------------------------------------------- /tests/Common/Command/AbstractNewCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Command/AbstractNewCommandTest.php -------------------------------------------------------------------------------- /tests/Common/Command/AbstractRedoCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Command/AbstractRedoCommandTest.php -------------------------------------------------------------------------------- /tests/Common/Command/AbstractUpdateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Command/AbstractUpdateCommandTest.php -------------------------------------------------------------------------------- /tests/Common/Runner/AbstractDownRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Runner/AbstractDownRunnerTest.php -------------------------------------------------------------------------------- /tests/Common/Runner/AbstractUpRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Runner/AbstractUpRunnerTest.php -------------------------------------------------------------------------------- /tests/Common/Service/AbstractMigrationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Service/AbstractMigrationServiceTest.php -------------------------------------------------------------------------------- /tests/Common/Service/Database/AbstractListTablesServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Service/Database/AbstractListTablesServiceTest.php -------------------------------------------------------------------------------- /tests/Common/Service/Generate/AbstractCreateServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Common/Service/Generate/AbstractCreateServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/CreateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/CreateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/CreateServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/CreateServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/DownCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/DownCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/DownRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/DownRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/HistoryCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/HistoryCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/MigrationBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/MigrationBuilderTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/MigrationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/MigrationServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/MigratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/MigratorTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/NewCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/NewCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/RedoCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/RedoCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/UpRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/UpRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Mssql/UpdateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mssql/UpdateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/CreateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/CreateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/CreateServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/CreateServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/DownCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/DownCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/DownRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/DownRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/HistoryCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/HistoryCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/MigrationBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/MigrationBuilderTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/MigrationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/MigrationServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/MigratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/MigratorTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/NewCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/NewCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/RedoCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/RedoCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/UpRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/UpRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Mysql/UpdateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Mysql/UpdateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/CreateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/CreateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/CreateServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/CreateServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/DownCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/DownCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/DownRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/DownRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/HistoryCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/HistoryCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/MigrationBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/MigrationBuilderTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/MigrationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/MigrationServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/MigratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/MigratorTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/NewCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/NewCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/RedoCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/RedoCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/UpRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/UpRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Oracle/UpdateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Oracle/UpdateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/CreateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/CreateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/CreateServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/CreateServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/DownCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/DownCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/DownRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/DownRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/HistoryCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/HistoryCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/MigrationBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/MigrationBuilderTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/MigrationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/MigrationServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/MigratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/MigratorTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/NewCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/NewCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/RedoCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/RedoCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/UpRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/UpRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Pgsql/UpdateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Pgsql/UpdateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/CreateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/CreateCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/CreateServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/CreateServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/DownCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/DownCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/DownRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/DownRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/HistoryCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/HistoryCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/MigrationBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/MigrationBuilderTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/MigrationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/MigrationServiceTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/MigratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/MigratorTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/NewCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/NewCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/RedoCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/RedoCommandTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/UpRunnerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/UpRunnerTest.php -------------------------------------------------------------------------------- /tests/Driver/Sqlite/UpdateCommandTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Driver/Sqlite/UpdateCommandTest.php -------------------------------------------------------------------------------- /tests/Migration/BinTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Migration/BinTest.php -------------------------------------------------------------------------------- /tests/Migration/ConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Migration/ConfigTest.php -------------------------------------------------------------------------------- /tests/Migration/NullMigrationInformerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Migration/NullMigrationInformerTest.php -------------------------------------------------------------------------------- /tests/Migration/Service/MigrationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Migration/Service/MigrationServiceTest.php -------------------------------------------------------------------------------- /tests/Migration/bin-runner.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Migration/bin-runner.php -------------------------------------------------------------------------------- /tests/Support/AssertTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/AssertTrait.php -------------------------------------------------------------------------------- /tests/Support/Factory/MssqlFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Factory/MssqlFactory.php -------------------------------------------------------------------------------- /tests/Support/Factory/MysqlFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Factory/MysqlFactory.php -------------------------------------------------------------------------------- /tests/Support/Factory/OracleFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Factory/OracleFactory.php -------------------------------------------------------------------------------- /tests/Support/Factory/PostgreSqlFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Factory/PostgreSqlFactory.php -------------------------------------------------------------------------------- /tests/Support/Factory/SqLiteFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Factory/SqLiteFactory.php -------------------------------------------------------------------------------- /tests/Support/Helper/CommandHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Helper/CommandHelper.php -------------------------------------------------------------------------------- /tests/Support/Helper/ContainerConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Helper/ContainerConfig.php -------------------------------------------------------------------------------- /tests/Support/Helper/ContainerHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Helper/ContainerHelper.php -------------------------------------------------------------------------------- /tests/Support/Helper/DbHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Helper/DbHelper.php -------------------------------------------------------------------------------- /tests/Support/Helper/MigrationHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Helper/MigrationHelper.php -------------------------------------------------------------------------------- /tests/Support/Migrations/M231015155500ExecuteSql.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Migrations/M231015155500ExecuteSql.php -------------------------------------------------------------------------------- /tests/Support/Migrations/M231017150317EmptyDown.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Migrations/M231017150317EmptyDown.php -------------------------------------------------------------------------------- /tests/Support/Migrations/M250312122400ChangeDbPrefixUp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Migrations/M250312122400ChangeDbPrefixUp.php -------------------------------------------------------------------------------- /tests/Support/Migrations/M250312122500ChangeDbPrefixDown.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Migrations/M250312122500ChangeDbPrefixDown.php -------------------------------------------------------------------------------- /tests/Support/MigrationsExtra/M231108183919Empty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/MigrationsExtra/M231108183919Empty.php -------------------------------------------------------------------------------- /tests/Support/MigrationsExtra2/M231108183919Empty2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/MigrationsExtra2/M231108183919Empty2.php -------------------------------------------------------------------------------- /tests/Support/Provider/ColumnTypes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Provider/ColumnTypes.php -------------------------------------------------------------------------------- /tests/Support/Stub/StubMigration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Stub/StubMigration.php -------------------------------------------------------------------------------- /tests/Support/Stub/StubMigrationInformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Stub/StubMigrationInformer.php -------------------------------------------------------------------------------- /tests/Support/Stub/StubRevertibleMigration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tests/Support/Stub/StubRevertibleMigration.php -------------------------------------------------------------------------------- /tests/runtime/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tools/.gitignore: -------------------------------------------------------------------------------- 1 | /*/vendor 2 | /*/composer.lock 3 | -------------------------------------------------------------------------------- /tools/infection/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tools/infection/composer.json -------------------------------------------------------------------------------- /tools/psalm/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiisoft/db-migration/HEAD/tools/psalm/composer.json --------------------------------------------------------------------------------