Skip to content

Commit 2f881dd

Browse files
committed
Yii 2.0 usage
1 parent b427df4 commit 2f881dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/databases/db-migrations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,9 @@ yii migrate --migrationPath=@app/migrations/db2 --db=db2
593593
The first command will apply migrations in `@app/migrations/db1` to the `db1` database, the second command
594594
will apply migrations in `@app/migrations/db2` to `db2`, and so on.
595595

596-
### Upgrading from Yii2
596+
### Upgrading from Yii 2.0
597597

598-
Migrations in Yii2 and the [yiisoft/db-migration](https://github.com/yiisoft/db-migration/) package are not compatible,
598+
Migrations in Yii 2.0 and the [yiisoft/db-migration](https://github.com/yiisoft/db-migration/) package are not compatible,
599599
and the `migration` table is also not
600600
compatible.
601601
A probable solution is to use structure dumps and rename the old `migration` table. Upon the initial execution of

0 commit comments

Comments
 (0)