search for: fk_line_item_product

Displaying 1 result from an estimated 1 matches for "fk_line_item_product".

Did you mean: fk_line_item_products
2006 Jun 24
2
Migrations problem with Agile Rails book
...am following the instructions on Agile Web Development with Rails book "Iteratio E1: Capturing an Order" section. When I run the migrations I get the following error. rake db:migrate (in /Users/balaparanj/work/depot) -- execute("alter table line_items \n add constraint fk_line_item_products \n foreign key (product_id) references products(id)") rake aborted! Mysql::Error: Table ''depot_development.line_items'' doesn''t exist: alter table line_items add constraint fk_line_item_products foreign key (product_id) reference...