Skip to content

Instantly share code, notes, and snippets.

@bourroush
Created December 15, 2014 09:42
Show Gist options
  • Save bourroush/853e1f2bcdcb27f92038 to your computer and use it in GitHub Desktop.
Save bourroush/853e1f2bcdcb27f92038 to your computer and use it in GitHub Desktop.
Migration issue
== TieExistingOrdersToAccounts: migrating ====================================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Mysql2::Error: Table 'ttg.ring_sizings' doesn't exist: SHOW FULL FIELDS FROM `ring_sizings`/Users/boris/src/georgianjewelry/app/models/order_item.rb:18:in `ring_sizing_cost'
/Users/boris/src/georgianjewelry/app/models/order.rb:59:in `block in ring_sizing_total'
/Users/boris/src/georgianjewelry/app/models/order.rb:59:in `ring_sizing_total'
/Users/boris/src/georgianjewelry/app/models/order.rb:186:in `taxable_costs'
/Users/boris/src/georgianjewelry/app/models/order.rb:64:in `total'
/Users/boris/src/georgianjewelry/app/models/order.rb:190:in `update_cached_total'
/Users/boris/src/georgianjewelry/db/migrate/20140807191604_tie_existing_orders_to_accounts.rb:7:in `block in up'
/Users/boris/src/georgianjewelry/db/migrate/20140807191604_tie_existing_orders_to_accounts.rb:3:in `up'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment