pascalh1011/migrant — Issue #9: Ability to define custom indexes
Author: KieranP
Created: 2011-11-24 22:05:18+00:00
State: open

Need to be able to supply custom indexes.

```
class Vote
belongs_to :user
belongs_to :answer

index [:user_id, :answer_id], :unique => true, :name => 'user_gets_one_vote_per_answer'
end
```