Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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!