phinx-migrations-generator

A Migration Code Generator for Phinx

MIT License

Downloads
617.4K
Stars
230
Committers
20

Bot releases are hidden (Show)

phinx-migrations-generator - 5.0.0

Published by odan over 4 years ago

Breaking Changes

  • Update phinx version to 0.12, see phinx changelog
  • In environment configuration default_database is now default_environment
  • Changed minimum version to PHP 7.2
  • Added strict types and return types
  • Use final classes and private properties by default

Changes

  • Replaced generic exceptions with more specific exceptions

Fixed

  • Fixed phpstan issues and code style violations
phinx-migrations-generator - 4.6.1

Published by odan almost 5 years ago

Fixed

  • Fixed chinese string encoding #77 Thanks to @jiuwuxiaohun
phinx-migrations-generator - 4.6.0

Published by odan almost 5 years ago

Changed

  • Allow Symfony 5 #75
  • Unified integrity checks into a single command

Fixed

  • Fixed tests for MySQL 8
phinx-migrations-generator - 4.5.0

Published by odan almost 5 years ago

Added

  • Add new parameter for schema_file location. #74

Fixed

  • Fix indentation of generated code. #71

Thanks goes to: @JoyceBabu

phinx-migrations-generator - 4.4.1

Published by odan almost 5 years ago

Fixed

  • Fixed null as default value for MariaDB #69
phinx-migrations-generator - 4.4.0

Published by odan about 5 years ago

Added

  • Added generate_migration_name parameter #68

Fixed

  • Fixed default base class to \Phinx\Migration\AbstractMigration
phinx-migrations-generator - 4.3.0

Published by odan about 5 years ago

  • Base class for generated migration from phinx config #60
  • Ability to generate a random name with some prefix for the created migration #61
  • Fast load of database schema #62
  • Refactoring for better extensibility #63

Thanks a lot: @zakonnic

phinx-migrations-generator - 4.2.0

Published by odan about 5 years ago

  • Change to PHP minimum version from ^7.2 to ^7.1
phinx-migrations-generator - 4.1.0

Published by odan about 5 years ago

  • Update robmorgan/phinx requirement from ^0.10 to ^0.11 #59
phinx-migrations-generator - 4.0.5

Published by odan over 5 years ago

Fixed

  • Fix diff for unchanged tables #55
phinx-migrations-generator - 4.0.4

Published by odan over 5 years ago

Fixed

  • Fixed int, bigint limit
  • Fixed decimal precision
phinx-migrations-generator - 4.0.3

Published by odan over 5 years ago

  • Fixed migration path issue on php 7.3 #50
phinx-migrations-generator - 4.0.2

Published by odan over 5 years ago

Fixed

  • Fixed migration path issue on php 7.3
phinx-migrations-generator - 4.0.1

Published by odan over 5 years ago

Fixed

  • Fixed invalid default column value

Changed

  • Use single quotes for table names
phinx-migrations-generator - 4.0.0

Published by odan almost 6 years ago

Changes

  • Changed minimum version to PHP 7.2
  • Optimized generated code structure (no variables required anymore)

Added

  • Added support for multiple column primary keys #46
  • Added Interfaces #47
  • Added typehints

Removed

  • Removed TABLE_SCHEMA (database name) from schema.php #45
phinx-migrations-generator -

Published by odan almost 6 years ago

Fixed

  • Fixed incorrect removal of index when they don't exist #44
phinx-migrations-generator - 3.0.1

Published by odan over 6 years ago

Fixed

  • Fixed addColumn to fix change column errors #37
phinx-migrations-generator - 3.0.0

Published by odan over 6 years ago

Changes

  • Updated to phinx ^0.10
  • Changed dropTable to $this->table($table)->dropTable()->save();
phinx-migrations-generator - 2.7.0

Published by odan over 6 years ago

Fixed

  • Fixed primary keys
  • Fixed undefined index when there are no old tables
  • Fix delete rule for foreign keys
  • Fixed default bit value literals

New

  • Added support for table row_format
phinx-migrations-generator -

Published by odan over 6 years ago

Fixed

  • Fixed migration generation 'default_migration_table' setting. Thanks to @alex2005git