Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StandardError: An error has occurred, this and all later migrations canceled: The single-table inheritance mechanism failed to locate the subclass: 'Spree::BillingIntegration::PaypalExpress'. This error is raised because the column 'type' is reserved for #37

Open
christoph-buente opened this issue Feb 17, 2014 · 0 comments
Labels

Comments

@christoph-buente
Copy link
Member

Check full details on Airbrake: #71025180

Backtrace:

```
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/inheritance.rb:143:in rescue in find_sti_class
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/inheritance.rb:136:in find_sti_class
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/inheritance.rb:62:in instantiate
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/querying.rb:38:in block (2 levels) in find_by_sql
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/querying.rb:38:in collect!
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/querying.rb:38:in block in find_by_sql
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/explain.rb:41:in logging_query_plan
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/querying.rb:37:in find_by_sql
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/relation.rb:171:in exec_queries
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/relation.rb:160:in block in to_a
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/explain.rb:41:in logging_query_plan
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/relation.rb:159:in to_a
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/relation.rb:189:in exec_queries
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/relation.rb:160:in block in to_a
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/explain.rb:41:in logging_query_plan
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/relation.rb:159:in to_a
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/relation.rb:355:in destroy_all
[PROJECT_ROOT]/db/migrate/20131216122905_remove_old_paypal_information.rb:3:in up
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:410:in block (2 levels) in migrate
/opt/rbenv/versions/2.1.0/lib/ruby/2.1.0/benchmark.rb:279:in measure
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:410:in block in migrate
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in with_connection
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:389:in migrate
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:528:in migrate
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:720:in block (2 levels) in migrate
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:775:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:775:in block in ddl_transaction
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in transaction
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/transactions.rb:208:in transaction
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:775:in ddl_transaction
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:719:in block in migrate
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:700:in each
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:700:in migrate
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:570:in up
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/migration.rb:551:in migrate
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.16/lib/active_record/railties/databases.rake:193:in block (2 levels) in <top (required)>
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in call
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in block in execute
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in each
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in execute
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:175:in block in invoke_with_call_chain
/opt/rbenv/versions/2.1.0/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in invoke_with_call_chain
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:161:in invoke
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:149:in invoke_task
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in block (2 levels) in top_level
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in each
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in block in top_level
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:115:in run_with_threads
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:100:in top_level
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:78:in block in run
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:165:in standard_exception_handling
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:75:in run
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/gems/rake-10.1.1/bin/rake:33:in <top (required)>
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/bin/rake:23:in load
[PROJECT_ROOT]/vendor/bundle/ruby/2.1.0/bin/rake:23:in <main>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant