Changeset [9eb1f5b44fae874d546d6878096a3c51f603aa3a] by Dan Kubb
April 7th, 2012 @ 02:22 AM
Refactor mysql rename column statement generation
- Simplify code
- Fix to not lose the default value for NOT NULL columns (previous code had a bug here)
- Change base property_schema_statement method to only add a default to the statement if it is non-NULL https://github.com/datamapper/dm-migrations/commit/9eb1f5b44fae874d...
Committed by Dan Kubb
- M lib/dm-migrations/adapters/dm-do-adapter.rb
- M lib/dm-migrations/sql/mysql.rb
- M spec/integration/sql_spec.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »