Hi all, I think there''s a bug in rake db:schema:dump. Try to add in your migration execute ''ALTER TABLE posts ADD UNIQUE (description(15))'' and rake db:schema:load : it just converts it to add_index "posts", ["description"], :name => "description", :unique => true The point is that MySQL will crash when you''ll try rake your tests. Assuming description is a ''text'', you need to specify length of the index. Am I wrong? Does someone can reproduce the bug? -- ,========================. | Pierre-Alexandre Meyer | | email : pam-1sEOgp2Wo8Qdnm+yROfE0A@public.gmane.org | `========================'' --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---