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.