Changeset [27c750636cbb9eec00fc0b75a0c1735deb4643bd] by Dan Kubb

September 2nd, 2010 @ 01:10 PM

Fixed default values to pass through Property#dump for DDL statements

  • This fixes various problems with Flag and Enum properties, among others, where the value that is provided in the :default option was used directly in the DDL statement. While this works when the ruby value maps onto the database column type, it does not work when Property#dump converts the value into another representation.

[#1306 state:resolved] [#1320 state:resolved] [#1356 state:resolved]

Committed by Dan Kubb

  • M lib/dm-migrations/adapters/dm-do-adapter.rb
  • M spec/integration/auto_migration_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »