Guest User

Untitled

a guest
Sep 11th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.07 KB | None | 0 0
  1. == AddTitlesForBadges: migrating =============================================
  2. -- execute("TRUNCATE table rewards")
  3. -> 0.0676s
  4. -- change_table(:rewards)
  5. rake aborted!
  6. An error has occurred, all later migrations canceled:
  7.  
  8. Mysql2::Error: Duplicate column name 'badge': ALTER TABLE `rewards` ADD `badge` varchar(255)
  9. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/connection_adapters/abstract_adapter.rb:207:in `rescue in log'
  10. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/connection_adapters/abstract_adapter.rb:199:in `log'
  11. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/newrelic_rpm-3.4.0/lib/new_relic/agent/instrumentation/active_record.rb:32:in `block in log_with_newrelic_instrumentation'
  12. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/newrelic_rpm-3.4.0/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
  13. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/newrelic_rpm-3.4.0/lib/new_relic/agent/instrumentation/active_record.rb:29:in `log_with_newrelic_instrumentation'
  14. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/mysql2-0.2.18/lib/active_record/connection_adapters/mysql2_adapter.rb:265:in `execute'
  15. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/mysql2-0.2.18/lib/active_record/connection_adapters/mysql2_adapter.rb:432:in `add_column'
  16. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/connection_adapters/abstract/schema_definitions.rb:584:in `column'
  17. /home/matthew/hod/db/migrate/20110325072425_add_titles_for_badges.rb:5:in `block in up'
  18. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:228:in `change_table'
  19. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:383:in `block in method_missing'
  20. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:359:in `block in say_with_time'
  21. /home/matthew/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
  22. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:359:in `say_with_time'
  23. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:379:in `method_missing'
  24. /home/matthew/hod/db/migrate/20110325072425_add_titles_for_badges.rb:4:in `up'
  25. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:312:in `block in migrate'
  26. /home/matthew/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
  27. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:312:in `migrate'
  28. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:395:in `migrate'
  29. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:537:in `block (2 levels) in migrate'
  30. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:613:in `call'
  31. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:613:in `ddl_transaction'
  32. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:536:in `block in migrate'
  33. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:523:in `each'
  34. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:523:in `migrate'
  35. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:433:in `up'
  36. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:415:in `migrate'
  37. /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/railties/databases.rake:142:in `block (2 levels) in <top (required)>'
  38. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
  39. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
  40. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
  41. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
  42. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
  43. /home/matthew/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
  44. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
  45. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
  46. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
  47. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
  48. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
  49. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
  50. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
  51. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
  52. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
  53. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
  54. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
  55. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
  56. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/bin/rake:19:in `load'
  57. /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/bin/rake:19:in `<main>'
  58. /home/matthew/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `eval'
  59. /home/matthew/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `<main>'
  60. Tasks: TOP => db:migrate
Add Comment
Please, Sign In to add comment