Changeset [bb917a890d10ec24f82406d2d66553d1b3d7b866] by Emmanuel Gomez

July 6th, 2011 @ 03:39 AM

Fix a big bug introduced in my recent refactor.

I had misread the previous implementation, and it seemed sensible to tie constraint creation to model migration.

But no, there's a reason that constraints are all removed before migrating down, and all added after migrating up.

Committed by Emmanuel Gomez

  • M lib/data_mapper/constraints/migrations/model.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 »