Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Marking Todo Items Complete

William Bode
William Bode
7,105 Points

[No question] How i solved the error for "rake db:migrate" about SQLite3::SQLException: duplicate column

Hey Guys and Girls,

I had a huge error when trying to rake db:migrate,

SQLite3::SQLException: duplicate column name: completed_at: ALTER TABLE "todo_items" ADD "completed_at" datetime/usr/local/rvm/gems/ruby-2.2.1/gems/sqlite3-1.3.1

followed by lots of lines.

I solved it by deleting my "development.sqlite3" file in the db/migrate folder.

Hope it helps!