Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
2 changes: 1 addition & 1 deletion docs/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion docs/en/migrations.md
Original file line number Diff line number Diff line change
@@ -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/).
4 changes: 2 additions & 2 deletions docs/en/tutorials-and-examples/cms/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better use https://book.cakephp.org/migrations/
The site-book redirect handles the redirect to the current version.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be updated for all the links in your change

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will do that post merge then.

:::

With the database built, we can now build our [Models](../../tutorials-and-examples/cms/articles-model).
2 changes: 1 addition & 1 deletion docs/ja/contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/migrations.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Migrations

このページは [移動しました](https://book.cakephp.org/migrations/3/ja/) 。
このページは [移動しました](https://book.cakephp.org/migrations/5/) 。