Forum: Ruby on Rails rake db:create, db:migrate ok but rake RAILS_ENV=production db:create, db:migrate fails...

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Simon S. (Guest)
on 2009-05-28 22:54
(Received via mailing list)

anybody have any clue why the following is happening: if i do "rake
db:drop, rake db:create, rake db:migrate" everything is fine but if i
do "rake RAILS_ENV=testing db:drop", then "rake RAILS_ENV=testing
db:create" & then "rake RAILS_ENV=testing db:migrate" it fails on the
migrate part, i get "Validation Failed: Group has already been taken"
in the middle of the migration
This topic is locked and can not be replied to.