I\'m getting an error:
SQLite3::SQLException: no such column: ideas.list_id:
SELECT \"ideas\".* FROM \"ideas\"
WHERE \"ideas\".\"list_id\" = 2
You should not add new rows to old migrations. Migration is a step of building database. And number of last executed migration is stored in schema
, and it will not be run or redone if you use will use rake db:migrate
. If you run the migration with creating the table before, then you should create new migration where you may use add_column
method.