Ruby on Rails: adding columns to existing database

前端 未结 7 715
Happy的楠姐
Happy的楠姐 2021-01-30 07:49

I\'m getting an error:

SQLite3::SQLException: no such column: ideas.list_id: 
SELECT \"ideas\".* FROM \"ideas\"  
WHERE \"ideas\".\"list_id\" = 2
7条回答
  •  日久生厌
    2021-01-30 08:12

    Rails 4.0 easy way to add single or multiple column https://gist.github.com/pyk/8569812

提交回复
热议问题