Changeset [349073395edd68b13d5a2b981b1f7bd9ca58d35e] by Jordan Ritter

July 19th, 2011 @ 11:59 PM

Make auto_upgrade handle unique indexes when materializing missing properties.

Previously only handled property.options[:index] === true case. If a property
specified :unique_index => true, or defaulted to it via :unique => true, the
unique index was completely ignored.

Committed by Jordan Ritter

  • M lib/dm-migrations/adapters/dm-do-adapter.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 »