phalcon/phalcon-devtools — pull request #223 by natronite (2014-06-12 14:26:05+00:00)
Title: One can now choose to ignore the schema name for migrations 

Added option 'ignoreSchema' to generate migration files that won't specify the database name in foreign key definitions because databases don't necessarily have the same name on development, test, stage or production servers.

When running a migration with those files it automatically uses the db name from the phalcon config.