Jan
9
9
If you are getting the following exception on a migration on Darwin / OS X:
SQLite3::SQLException: near "ADD": syntax error: ALTER TABLE "xxx" ADD "yyy" varchar(255)
then you can try the following:
- sudo gem uninstall sqlite3-ruby
- Install the latest sqlite3 from sources from sqlite.org
- sudo gem install sqlite3-ruby
Related:
Using SQL LIKE with find in Ruby On Rails
Are you interested in reading more from CodingClues?
Then subscribe to new postings
via RSS or
via
E-Mail.
Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)