https://github.com/cakephp/phinx/blob/0.x/src/Phinx/Console/Command/Create.php You could apply sth similar here we currently evaluate for Migrations: https://github.com/cakephp/migrations/pull/773 When you generate multiple ones, this will otherwise create exceptions when reading/using.