github cakephp/migrations 3.7.0

latest releases: 4.4.2, 4.4.1, 4.4.0...
23 months ago

Improvements

  • Fixed up Migrations for Phinx 0.13 integration.
    The migration bake templates needed adjustement in regards to param/return types

BC impact: Since Phinx 0.13 foreign key columns are expected to be specified with "signed" => false. Make sure to update your table columns here if you are using any constraints here with 0.13+.
You can also use 3.7.2+ which keeps BC with previous behavior.

Note: Make sure you updated your migration files in your project to contain all return types for methods before applying this update.

Seed classes:

-        public function run()
+        public function run(): void

Migration classes:

-        public function change()
+        public function change(): void

Same for up()/down() if in use.

Full Changelog: 3.6.1...3.7.0

Don't miss a new migrations release

NewReleases is sending notifications on new releases.