Skip to content

Commit c138716

Browse files
authored
Update documentation for Migrations 5.0 (#8230)
- Update redirect links from Migrations 4 to Migrations 5 - Update seed command from `migrations seed` to `seeds run` - Update Japanese documentation links
1 parent d27314b commit c138716

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/en/contents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
- [Authorization](https://book.cakephp.org/authorization/3/)
6464
- [Bake](https://book.cakephp.org/bake/3/)
6565
- [Debug Kit](https://book.cakephp.org/debugkit/5/)
66-
- [Migrations](https://book.cakephp.org/migrations/4/)
66+
- [Migrations](https://book.cakephp.org/migrations/5/)
6767
- [Elasticsearch](https://book.cakephp.org/elasticsearch/4/)
6868
- [Phinx](https://book.cakephp.org/phinx/0/en/)
6969
- [Chronos](https://book.cakephp.org/chronos/3/)

docs/en/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ bin/cake migrations migrate
144144

145145
# Step 4: (Optional) Generate and run seed data
146146
bin/cake bake seed Articles
147-
bin/cake migrations seed
147+
bin/cake seeds run Articles
148148
```
149149

150150
```php [Migration File]

docs/en/migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Migrations
22

3-
This page has [moved](https://book.cakephp.org/migrations/4/).
3+
This page has [moved](https://book.cakephp.org/migrations/5/).

docs/en/tutorials-and-examples/cms/database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ The seed data above stores passwords in **plain text** for initial setup purpose
198198
Run the seeders:
199199

200200
```bash
201-
bin/cake migrations seed
201+
bin/cake seeds run
202202
```
203203

204204
### Option B: Using Raw SQL
@@ -321,7 +321,7 @@ conventions will save you time as you can leverage the convention-based defaults
321321
CakePHP provides.
322322

323323
::: tip Learn More
324-
Read more about database migrations and seeding in the [Migrations documentation](https://book.cakephp.org/migrations/4/).
324+
Read more about database migrations and seeding in the [Migrations documentation](https://book.cakephp.org/migrations/5/).
325325
:::
326326

327327
With the database built, we can now build our [Models](../../tutorials-and-examples/cms/articles-model).

docs/ja/contents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
- [Authorization](https://book.cakephp.org/authorization/2/)
6565
- [Bake](https://book.cakephp.org/bake/2/ja/)
6666
- [Debug Kit](https://book.cakephp.org/debugkit/4/ja/)
67-
- [Migrations](https://book.cakephp.org/migrations/3/ja/)
67+
- [Migrations](https://book.cakephp.org/migrations/5/)
6868
- [Elasticsearch](https://book.cakephp.org/elasticsearch/3/ja/)
6969
- [Phinx](https://book.cakephp.org/phinx/0/ja/)
7070
- [Chronos](https://book.cakephp.org/chronos/2/ja/)

docs/ja/migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Migrations
22

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

0 commit comments

Comments
 (0)