Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- == AddTitlesForBadges: migrating =============================================
- -- execute("TRUNCATE table rewards")
- -> 0.0676s
- -- change_table(:rewards)
- rake aborted!
- An error has occurred, all later migrations canceled:
- Mysql2::Error: Duplicate column name 'badge': ALTER TABLE `rewards` ADD `badge` varchar(255)
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /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'
- /home/matthew/hod/db/migrate/20110325072425_add_titles_for_badges.rb:5:in `block in up'
- /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'
- /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'
- /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'
- /home/matthew/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:359:in `say_with_time'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:379:in `method_missing'
- /home/matthew/hod/db/migrate/20110325072425_add_titles_for_badges.rb:4:in `up'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:312:in `block in migrate'
- /home/matthew/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:295:in `measure'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:312:in `migrate'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:395:in `migrate'
- /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'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:613:in `call'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:613:in `ddl_transaction'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:536:in `block in migrate'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:523:in `each'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:523:in `migrate'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:433:in `up'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/gems/activerecord-3.0.4/lib/active_record/migration.rb:415:in `migrate'
- /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)>'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
- /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'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
- /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'
- /home/matthew/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
- /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'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
- /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'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
- /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'
- /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'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
- /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'
- /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'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/bin/rake:19:in `load'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320@global/bin/rake:19:in `<main>'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `eval'
- /home/matthew/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `<main>'
- Tasks: TOP => db:migrate
Add Comment
Please, Sign In to add comment