cakephp/migrations — pull request #34 by josegonzalez (2014-12-07 17:32:28+00:00)
Title: Migration generation

This is my first pass at making migration baking a little easier to use.

- Moved the existing bake behavior to a `--snapshot` option
- Moved the template to `migration.ctp` to `snapshot.ctp`
- Cleaned up the actual bake task a bit
- Added a `MigrationHelper` class to handle data output for migration files

This PR handles the signed/unsigned bug, and adds support for more phinx-supported attributes.

TODO:

- Update docs
- Test bake output the same way that the core does
- Add tests for the `MigrationHelper` class