Yes, but how do I do this with change_column?

On Aug 15, 1:53 pm, Hassan Schroeder <[email protected]>
wrote:
> On Mon, Aug 15, 2011 at 1:41 PM, theLemcke <[email protected]> wrote:
> > Index name
> > 'temp_index_altered_comments_on_commentable_id_and_commentable_type'
> > on table 'altered_comments' is too long; the limit is 64 characters
>
> > How do I specify the name of the temporary index in the migration?
>
> e.g.
>
> add_index :things , :thing_id , :name => 'thing_index'
>
> --
> Hassan Schroeder ------------------------ 
> [email protected]http://about.me/hassanschroeder
> twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to