richardkmichael/rails — Issue #2: Allow index creation in create_table block.
Author: richardkmichael
Created: 2011-12-22 19:43:37+00:00
State: open

```ruby
def up
create_table :users do |t|
t.index :email, :unique => true
end
end
```

Would be nice. However, `ActiveRecord::Migration#drop_table` would need to locate these indeces and remove them.