Skip to content

CakePHP Migrations 1.6.3 released

Compare
Choose a tag to compare
@HavokInspiration HavokInspiration released this 01 Jul 18:36
  • Add support for specifying a nullable field when baking a migration. You can now use a question mark after the field type to tell bake that you want this field to be nullable. Here is an example :
# `description` and `age` fields will be nullable
bin/cake bake migration CreatePerson name:string description:string? age:integer?

More information about baking migrations in the Cookbook

(Issue #203 / PR #249)

  • When a dump file is generated, all tables in the database will be added to it. This is to prevent migrations diff to be include tables already in registered in the database (Issue #232 / PR #248)