Rake db:create, db:migrate ok but rake RAILS_ENV=production db:create, db:migrate fails


#1

Hello,

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