Skip to content

Releases: cakephp/migrations

3.7.1

12 Dec 10:18
bbe44b6
Compare
Choose a tag to compare

Fixes

  • Fixed regression on Seed folder generation, partially reverts #584 by @challgren in #597

New Contributors

Full Changelog: 3.7.0...3.7.1

3.7.0

09 Dec 18:33
3656173
Compare
Choose a tag to compare

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

3.6.1

08 Dec 20:58
c08c4a0
Compare
Choose a tag to compare

What's Changed

  • Add support for DSN options. by @ndm2 in #582
  • Add message if migrations/seeds folders do not exist and debug is dis… by @ajibarra in #584

Full Changelog: 3.6.0...3.6.1

3.6.0

14 Oct 05:51
e1a0a76
Compare
Choose a tag to compare

What's Changed

  • Mode / Cache Parameter Support by @swiffer in #574

    Users can now set the cache=shared option when using a sqlite connection to run tests migrations in-memory.

New Contributors

Full Changelog: 3.5.3...3.6.0

Migrations 3.5.3

25 Sep 02:31
8ba15cc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.5.2...3.5.3

Migrations 3.5.2

10 May 15:08
e1b03bf
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.5.1...3.5.2

Migrations 3.5.1

14 Mar 14:27
6b03a44
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.5.0...3.5.1

3.5.0

08 Mar 17:51
c161295
Compare
Choose a tag to compare

Improvements

Full Changelog: 3.4.0...3.5.0

Migrations 3.4.0

30 Nov 03:45
4270426
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.3.0...3.4.0

Migrations 3.3.0

31 Oct 03:21
e0ee5fb
Compare
Choose a tag to compare

New Features

  • Migrator::runMany() was added. This method complements Migrator::run() and allows you to run migrations for multiple connections, plugins and sources at once. Added by @pabloelcolombiano in #522

What's Changed

Full Changelog: 3.2.0...3.3.0