Commit 7f73ec1f by Carsten Brandt

Update console-migrate.md

fixes #2989
parent 48e67e8b
...@@ -37,7 +37,7 @@ is used as part of a PHP class name in the migration. Therefore, it should only ...@@ -37,7 +37,7 @@ is used as part of a PHP class name in the migration. Therefore, it should only
digits and/or underscore characters. digits and/or underscore characters.
The above command will create a new The above command will create a new
file named `m101129_185401_create_news_table.php`. This file will be created within the `protected/migrations` directory. Initially, the migration file will be generated with the following code: file named `m101129_185401_create_news_table.php`. This file will be created within the `@app/migrations` directory. Initially, the migration file will be generated with the following code:
```php ```php
class m101129_185401_create_news_table extends \yii\db\Migration class m101129_185401_create_news_table extends \yii\db\Migration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment