├── .gitattributes ├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── composer.json ├── migrating_to_v4.md └── src ├── Arranger.php ├── ArrangerInterface.php ├── Comparator.php ├── ComparatorInterface.php ├── Extractor.php ├── ExtractorInterface.php ├── Generator.php ├── GeneratorInterface.php ├── HistoryManager.php ├── HistoryManagerInterface.php ├── Inspector.php ├── InspectorInterface.php ├── Schema.php ├── SqlColumnMapper.php ├── SqlExtractorInterface.php ├── TableMapper.php ├── TableMapperInterface.php ├── TableMissingException.php ├── Updater.php ├── UpdaterInterface.php ├── controllers ├── BaseMigrationController.php ├── FallbackFileHelper.php └── MigrationController.php ├── dummy ├── MigrationChanges.php ├── MigrationChangesInterface.php ├── MigrationSql.php └── MigrationSqlInterface.php ├── renderers ├── BlueprintRenderer.php ├── BlueprintRendererInterface.php ├── ColumnRenderer.php ├── ColumnRendererInterface.php ├── ForeignKeyRenderer.php ├── ForeignKeyRendererInterface.php ├── IndexRenderer.php ├── IndexRendererInterface.php ├── PrimaryKeyRenderer.php ├── PrimaryKeyRendererInterface.php ├── StructureRenderer.php └── StructureRendererInterface.php ├── table ├── BigIntegerColumn.php ├── BigPrimaryKeyColumn.php ├── BigUnsignedPrimaryKeyColumn.php ├── BinaryColumn.php ├── Blueprint.php ├── BlueprintInterface.php ├── BooleanColumn.php ├── CharacterColumn.php ├── Column.php ├── ColumnFactory.php ├── ColumnInterface.php ├── DateColumn.php ├── DateTimeColumn.php ├── DecimalColumn.php ├── DoubleColumn.php ├── FloatColumn.php ├── ForeignKey.php ├── ForeignKeyInterface.php ├── Index.php ├── IndexInterface.php ├── IntegerColumn.php ├── JsonColumn.php ├── MoneyColumn.php ├── PrimaryKey.php ├── PrimaryKeyColumn.php ├── PrimaryKeyColumnInterface.php ├── PrimaryKeyInterface.php ├── PrimaryKeyVariantColumnInterface.php ├── SmallIntegerColumn.php ├── StringColumn.php ├── Structure.php ├── StructureBuilder.php ├── StructureBuilderInterface.php ├── StructureChange.php ├── StructureChangeInterface.php ├── StructureInterface.php ├── TextColumn.php ├── TimeColumn.php ├── TimestampColumn.php ├── TinyIntegerColumn.php └── UnsignedPrimaryKeyColumn.php └── views └── migration.php /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/composer.json -------------------------------------------------------------------------------- /migrating_to_v4.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/migrating_to_v4.md -------------------------------------------------------------------------------- /src/Arranger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/Arranger.php -------------------------------------------------------------------------------- /src/ArrangerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/ArrangerInterface.php -------------------------------------------------------------------------------- /src/Comparator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/Comparator.php -------------------------------------------------------------------------------- /src/ComparatorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/ComparatorInterface.php -------------------------------------------------------------------------------- /src/Extractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/Extractor.php -------------------------------------------------------------------------------- /src/ExtractorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/ExtractorInterface.php -------------------------------------------------------------------------------- /src/Generator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/Generator.php -------------------------------------------------------------------------------- /src/GeneratorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/GeneratorInterface.php -------------------------------------------------------------------------------- /src/HistoryManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/HistoryManager.php -------------------------------------------------------------------------------- /src/HistoryManagerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/HistoryManagerInterface.php -------------------------------------------------------------------------------- /src/Inspector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/Inspector.php -------------------------------------------------------------------------------- /src/InspectorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/InspectorInterface.php -------------------------------------------------------------------------------- /src/Schema.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/Schema.php -------------------------------------------------------------------------------- /src/SqlColumnMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/SqlColumnMapper.php -------------------------------------------------------------------------------- /src/SqlExtractorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/SqlExtractorInterface.php -------------------------------------------------------------------------------- /src/TableMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/TableMapper.php -------------------------------------------------------------------------------- /src/TableMapperInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/TableMapperInterface.php -------------------------------------------------------------------------------- /src/TableMissingException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/TableMissingException.php -------------------------------------------------------------------------------- /src/Updater.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/Updater.php -------------------------------------------------------------------------------- /src/UpdaterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/UpdaterInterface.php -------------------------------------------------------------------------------- /src/controllers/BaseMigrationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/controllers/BaseMigrationController.php -------------------------------------------------------------------------------- /src/controllers/FallbackFileHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/controllers/FallbackFileHelper.php -------------------------------------------------------------------------------- /src/controllers/MigrationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/controllers/MigrationController.php -------------------------------------------------------------------------------- /src/dummy/MigrationChanges.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/dummy/MigrationChanges.php -------------------------------------------------------------------------------- /src/dummy/MigrationChangesInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/dummy/MigrationChangesInterface.php -------------------------------------------------------------------------------- /src/dummy/MigrationSql.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/dummy/MigrationSql.php -------------------------------------------------------------------------------- /src/dummy/MigrationSqlInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/dummy/MigrationSqlInterface.php -------------------------------------------------------------------------------- /src/renderers/BlueprintRenderer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/BlueprintRenderer.php -------------------------------------------------------------------------------- /src/renderers/BlueprintRendererInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/BlueprintRendererInterface.php -------------------------------------------------------------------------------- /src/renderers/ColumnRenderer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/ColumnRenderer.php -------------------------------------------------------------------------------- /src/renderers/ColumnRendererInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/ColumnRendererInterface.php -------------------------------------------------------------------------------- /src/renderers/ForeignKeyRenderer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/ForeignKeyRenderer.php -------------------------------------------------------------------------------- /src/renderers/ForeignKeyRendererInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/ForeignKeyRendererInterface.php -------------------------------------------------------------------------------- /src/renderers/IndexRenderer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/IndexRenderer.php -------------------------------------------------------------------------------- /src/renderers/IndexRendererInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/IndexRendererInterface.php -------------------------------------------------------------------------------- /src/renderers/PrimaryKeyRenderer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/PrimaryKeyRenderer.php -------------------------------------------------------------------------------- /src/renderers/PrimaryKeyRendererInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/PrimaryKeyRendererInterface.php -------------------------------------------------------------------------------- /src/renderers/StructureRenderer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/StructureRenderer.php -------------------------------------------------------------------------------- /src/renderers/StructureRendererInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/renderers/StructureRendererInterface.php -------------------------------------------------------------------------------- /src/table/BigIntegerColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/BigIntegerColumn.php -------------------------------------------------------------------------------- /src/table/BigPrimaryKeyColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/BigPrimaryKeyColumn.php -------------------------------------------------------------------------------- /src/table/BigUnsignedPrimaryKeyColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/BigUnsignedPrimaryKeyColumn.php -------------------------------------------------------------------------------- /src/table/BinaryColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/BinaryColumn.php -------------------------------------------------------------------------------- /src/table/Blueprint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/Blueprint.php -------------------------------------------------------------------------------- /src/table/BlueprintInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/BlueprintInterface.php -------------------------------------------------------------------------------- /src/table/BooleanColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/BooleanColumn.php -------------------------------------------------------------------------------- /src/table/CharacterColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/CharacterColumn.php -------------------------------------------------------------------------------- /src/table/Column.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/Column.php -------------------------------------------------------------------------------- /src/table/ColumnFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/ColumnFactory.php -------------------------------------------------------------------------------- /src/table/ColumnInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/ColumnInterface.php -------------------------------------------------------------------------------- /src/table/DateColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/DateColumn.php -------------------------------------------------------------------------------- /src/table/DateTimeColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/DateTimeColumn.php -------------------------------------------------------------------------------- /src/table/DecimalColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/DecimalColumn.php -------------------------------------------------------------------------------- /src/table/DoubleColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/DoubleColumn.php -------------------------------------------------------------------------------- /src/table/FloatColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/FloatColumn.php -------------------------------------------------------------------------------- /src/table/ForeignKey.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/ForeignKey.php -------------------------------------------------------------------------------- /src/table/ForeignKeyInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/ForeignKeyInterface.php -------------------------------------------------------------------------------- /src/table/Index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/Index.php -------------------------------------------------------------------------------- /src/table/IndexInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/IndexInterface.php -------------------------------------------------------------------------------- /src/table/IntegerColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/IntegerColumn.php -------------------------------------------------------------------------------- /src/table/JsonColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/JsonColumn.php -------------------------------------------------------------------------------- /src/table/MoneyColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/MoneyColumn.php -------------------------------------------------------------------------------- /src/table/PrimaryKey.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/PrimaryKey.php -------------------------------------------------------------------------------- /src/table/PrimaryKeyColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/PrimaryKeyColumn.php -------------------------------------------------------------------------------- /src/table/PrimaryKeyColumnInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/PrimaryKeyColumnInterface.php -------------------------------------------------------------------------------- /src/table/PrimaryKeyInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/PrimaryKeyInterface.php -------------------------------------------------------------------------------- /src/table/PrimaryKeyVariantColumnInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/PrimaryKeyVariantColumnInterface.php -------------------------------------------------------------------------------- /src/table/SmallIntegerColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/SmallIntegerColumn.php -------------------------------------------------------------------------------- /src/table/StringColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/StringColumn.php -------------------------------------------------------------------------------- /src/table/Structure.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/Structure.php -------------------------------------------------------------------------------- /src/table/StructureBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/StructureBuilder.php -------------------------------------------------------------------------------- /src/table/StructureBuilderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/StructureBuilderInterface.php -------------------------------------------------------------------------------- /src/table/StructureChange.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/StructureChange.php -------------------------------------------------------------------------------- /src/table/StructureChangeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/StructureChangeInterface.php -------------------------------------------------------------------------------- /src/table/StructureInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/StructureInterface.php -------------------------------------------------------------------------------- /src/table/TextColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/TextColumn.php -------------------------------------------------------------------------------- /src/table/TimeColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/TimeColumn.php -------------------------------------------------------------------------------- /src/table/TimestampColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/TimestampColumn.php -------------------------------------------------------------------------------- /src/table/TinyIntegerColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/TinyIntegerColumn.php -------------------------------------------------------------------------------- /src/table/UnsignedPrimaryKeyColumn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/table/UnsignedPrimaryKeyColumn.php -------------------------------------------------------------------------------- /src/views/migration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bizley/yii2-migration/HEAD/src/views/migration.php --------------------------------------------------------------------------------