The migration directory does not exist: application.migrations

When I try to create a migration I get the following error:

"The migration directory does not exist: application.migrations"

I have created migrations directory under protected, but it does not solve the problem. What could it be?

Hello,

I think your path refers to a path alias.

Did you customized your migration command?




return array(

    ......

    'commandMap'=>array(

        'migrate'=>array(

            'class'=>'system.cli.commands.MigrateCommand',

            'migrationPath'=>'application.migrations',

            'migrationTable'=>'tbl_migration',

            'connectionID'=>'db',

            'templateFile'=>'application.migrations.template',

        ),

        ......

    ),

    ......

);



It works now!

This customization is needed to the migration command to work fine?

ps.: Você é brasileira?

where should this be entered? config/main.php

should this be placed in main/config.php or main/console.php?