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?


I think your path refers to a path alias.

Did you customized your migration command?

return array(














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?