From e01328daac8dfc69c60b8f885c350ccfd112d4a8 Mon Sep 17 00:00:00 2001 From: mscherer Date: Wed, 18 Feb 2026 03:07:23 +0100 Subject: [PATCH] Update documentation for Migrations 5.0 - Update redirect links from Migrations 4 to Migrations 5 - Update seed command from `migrations seed` to `seeds run` - Update Japanese documentation links Co-Authored-By: Claude Opus 4.5 --- docs/en/contents.md | 2 +- docs/en/index.md | 2 +- docs/en/migrations.md | 2 +- docs/en/tutorials-and-examples/cms/database.md | 4 ++-- docs/ja/contents.md | 2 +- docs/ja/migrations.md | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/en/contents.md b/docs/en/contents.md index b873173eb6..3075a05b9e 100644 --- a/docs/en/contents.md +++ b/docs/en/contents.md @@ -63,7 +63,7 @@ - [Authorization](https://book.cakephp.org/authorization/3/) - [Bake](https://book.cakephp.org/bake/3/) - [Debug Kit](https://book.cakephp.org/debugkit/5/) -- [Migrations](https://book.cakephp.org/migrations/4/) +- [Migrations](https://book.cakephp.org/migrations/5/) - [Elasticsearch](https://book.cakephp.org/elasticsearch/4/) - [Phinx](https://book.cakephp.org/phinx/0/en/) - [Chronos](https://book.cakephp.org/chronos/3/) diff --git a/docs/en/index.md b/docs/en/index.md index f7bc0d1302..1476067276 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -144,7 +144,7 @@ bin/cake migrations migrate # Step 4: (Optional) Generate and run seed data bin/cake bake seed Articles -bin/cake migrations seed +bin/cake seeds run Articles ``` ```php [Migration File] diff --git a/docs/en/migrations.md b/docs/en/migrations.md index fce5ff7ec6..1ee72148ed 100644 --- a/docs/en/migrations.md +++ b/docs/en/migrations.md @@ -1,3 +1,3 @@ # Migrations -This page has [moved](https://book.cakephp.org/migrations/4/). +This page has [moved](https://book.cakephp.org/migrations/5/). diff --git a/docs/en/tutorials-and-examples/cms/database.md b/docs/en/tutorials-and-examples/cms/database.md index 2c7129d459..d06b858841 100644 --- a/docs/en/tutorials-and-examples/cms/database.md +++ b/docs/en/tutorials-and-examples/cms/database.md @@ -198,7 +198,7 @@ The seed data above stores passwords in **plain text** for initial setup purpose Run the seeders: ```bash -bin/cake migrations seed +bin/cake seeds run ``` ### Option B: Using Raw SQL @@ -321,7 +321,7 @@ conventions will save you time as you can leverage the convention-based defaults CakePHP provides. ::: tip Learn More -Read more about database migrations and seeding in the [Migrations documentation](https://book.cakephp.org/migrations/4/). +Read more about database migrations and seeding in the [Migrations documentation](https://book.cakephp.org/migrations/5/). ::: With the database built, we can now build our [Models](../../tutorials-and-examples/cms/articles-model). diff --git a/docs/ja/contents.md b/docs/ja/contents.md index 13130d2925..1c9a1a2196 100644 --- a/docs/ja/contents.md +++ b/docs/ja/contents.md @@ -64,7 +64,7 @@ - [Authorization](https://book.cakephp.org/authorization/2/) - [Bake](https://book.cakephp.org/bake/2/ja/) - [Debug Kit](https://book.cakephp.org/debugkit/4/ja/) -- [Migrations](https://book.cakephp.org/migrations/3/ja/) +- [Migrations](https://book.cakephp.org/migrations/5/) - [Elasticsearch](https://book.cakephp.org/elasticsearch/3/ja/) - [Phinx](https://book.cakephp.org/phinx/0/ja/) - [Chronos](https://book.cakephp.org/chronos/2/ja/) diff --git a/docs/ja/migrations.md b/docs/ja/migrations.md index 920ec9fc0e..6b65be73c1 100644 --- a/docs/ja/migrations.md +++ b/docs/ja/migrations.md @@ -1,3 +1,3 @@ # Migrations -このページは [移動しました](https://book.cakephp.org/migrations/3/ja/) 。 +このページは [移動しました](https://book.cakephp.org/migrations/5/) 。