Guest User

Untitled

a guest
Apr 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. = CreateRollupsFromEntries: migrating ========================================
  2. -- execute("DELETE FROM cost_volume_rollups WHERE is_medicare = '0' AND (subject
  3. _type='HealthIssue' OR subject_type='ProviderHealthIssue')")
  4. -> 2.4012s
  5. -- add_index(:entries, :reason_for_visit_term_id)
  6. -> 24.4486s
  7. -- add_index(:entries, :type)
  8. -> 29.0960s
  9. size 0 before resetting cache
  10. Processing HealthIssue: id=1 name=Cholera
  11. rake aborted!
  12. Mysql::Error: Unknown column 'account_provider_id' in 'field list': SELECT id, t
  13. ype, record_id, hospital_stay, account_provider_id, insurance_paid_in_cents, amo
  14. unt_billed_in_cents, amount_allowed_in_cents FROM entries WHERE (entries.reason
  15. _for_visit_term_id = 1) AND ( (entries.type = 'Eob' ) )
  16. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  17. ord/connection_adapters/abstract_adapter.rb:128:in `log'
  18. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  19. ord/connection_adapters/mysql_adapter.rb:243:in `execute'
  20. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  21. ord/connection_adapters/mysql_adapter.rb:399:in `select'
  22. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  23. ord/connection_adapters/abstract/database_statements.rb:7:in `select_all'
  24. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  25. ord/base.rb:427:in `find_by_sql'
  26. /home/WWW/chc.com/prod/changehealthcare/lib/datawarehouse/processing/cost_volume
  27. _rollup_processor.rb:317:in `build_health_issue_cvr_for_entries'
  28. /home/WWW/chc.com/prod/changehealthcare/lib/datawarehouse/processing/cost_volume
  29. _rollup_processor.rb:316:in `each'
  30. /home/WWW/chc.com/prod/changehealthcare/lib/datawarehouse/processing/cost_volume
  31. _rollup_processor.rb:316:in `build_health_issue_cvr_for_entries'
  32. ./db/migrate//613_create_rollups_from_entries.rb:33:in `real_up'
  33. ./db/migrate//613_create_rollups_from_entries.rb:32:in `each'
  34. ./db/migrate//613_create_rollups_from_entries.rb:32:in `real_up'
  35. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  36. ord/connection_adapters/abstract/database_statements.rb:59:in `transaction'
  37. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  38. ord/transactions.rb:95:in `transaction'
  39. ./db/migrate//613_create_rollups_from_entries.rb:30:in `real_up'
  40. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  41. ord/migration.rb:212:in `send'
  42. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  43. ord/migration.rb:212:in `migrate'
  44. /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
  45. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  46. ord/migration.rb:212:in `migrate'
  47. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  48. ord/migration.rb:335:in `migrate'
  49. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  50. ord/migration.rb:330:in `each'
  51. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  52. ord/migration.rb:330:in `migrate'
  53. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  54. ord/migration.rb:297:in `up'
  55. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/activerecord/lib/active_rec
  56. ord/migration.rb:288:in `migrate'
  57. /home/WWW/chc.com/prod/changehealthcare/vendor/rails/railties/lib/tasks/database
  58. s.rake:4
  59. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'
  60. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
  61. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'
  62. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
  63. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'
  64. /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
  65. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'
  66. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
  67. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'
  68. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'
  69. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_h
  70. andling'
  71. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'
  72. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'
  73. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_h
  74. andling'
  75. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'
  76. /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
  77. /usr/bin/rake:16:in `load'
  78. /usr/bin/rake:16
Add Comment
Please, Sign In to add comment