I’m working through AWDwRoRv2 and have run into a snag on page 80.
The code is a migration:
The error I get occurs when I run “rake db:migrate” using sqlite3 as
SQLite3::SQLException: near “ADD”: syntax error: ALTER TABLE
products ADD “price” decimal(8,2) DEFAULT 0
It works if I use MySQL instead. Is there a problem with sqlite3,
rails, or a configuration error on my computer?