Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- = CreateRollupsFromEntries: migrating ========================================
- -- execute("DELETE FROM cost_volume_rollups WHERE is_medicare = '0' AND (subject
- _type='HealthIssue' OR subject_type='ProviderHealthIssue')")
- -> 2.4012s
- -- add_index(:entries, :reason_for_visit_term_id)
- -> 24.4486s
- -- add_index(:entries, :type)
- -> 29.0960s
- size 0 before resetting cache
- Processing HealthIssue: id=1 name=Cholera
- rake aborted!
- Mysql::Error: Unknown column 'account_provider_id' in 'field list': SELECT id, t
- ype, record_id, hospital_stay, account_provider_id, insurance_paid_in_cents, amo
- unt_billed_in_cents, amount_allowed_in_cents FROM entries WHERE (entries.reason
- _for_visit_term_id = 1) AND ( (entries.type = 'Eob' ) )
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/connection_adapters/abstract_adapter.rb:128:in `log'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/connection_adapters/mysql_adapter.rb:243:in `execute'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/connection_adapters/mysql_adapter.rb:399:in `select'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/connection_adapters/abstract/database_statements.rb:7:in `select_all'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/base.rb:427:in `find_by_sql'
- /home/WWW/chc.com/prod/changehealthcare/lib/datawarehouse/processing/cost_volume
- _rollup_processor.rb:317:in `build_health_issue_cvr_for_entries'
- /home/WWW/chc.com/prod/changehealthcare/lib/datawarehouse/processing/cost_volume
- _rollup_processor.rb:316:in `each'
- /home/WWW/chc.com/prod/changehealthcare/lib/datawarehouse/processing/cost_volume
- _rollup_processor.rb:316:in `build_health_issue_cvr_for_entries'
- ./db/migrate//613_create_rollups_from_entries.rb:33:in `real_up'
- ./db/migrate//613_create_rollups_from_entries.rb:32:in `each'
- ./db/migrate//613_create_rollups_from_entries.rb:32:in `real_up'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/connection_adapters/abstract/database_statements.rb:59:in `transaction'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/transactions.rb:95:in `transaction'
- ./db/migrate//613_create_rollups_from_entries.rb:30:in `real_up'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/migration.rb:212:in `send'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/migration.rb:212:in `migrate'
- /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/migration.rb:212:in `migrate'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/migration.rb:335:in `migrate'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/migration.rb:330:in `each'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/migration.rb:330:in `migrate'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/migration.rb:297:in `up'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
- ord/migration.rb:288:in `migrate'
- /home/WWW/chc.com/prod/changehealthcare/vendor/rails/railties/lib/tasks/database
- s.rake:4
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'
- /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_h
- andling'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_h
- andling'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'
- /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
- /usr/bin/rake:16:in `load'
- /usr/bin/rake:16
Add Comment
Please, Sign In to add comment