Hi,
It sounds like you don't have any valuable information in your
database. Then it would be easiest to re-create it completely
(assuming you've checked out the git repository):
$ git checkout db/schema.rb # to make sure you have
the stock version
$ rake db:drop db:setup
If you still get a migration error, something is wrong with the
source-code (outdated database schema). You can try running
rake
db:migrate and may be lucky. If that doesn't work either, get
the latest stable version of Foodsoft (which was tested more than
master):
$ git checkout db/schema.rb # to allow the next
checkout in case the database schema changed
$ git checkout latest-release
$ rake db:drop db:setup
Does that help a bit?
- Willem
On 22-04-16 14:24, Alie Eiseman [via
foodsoft] wrote:
So I deleted the users table in foodsoft_development,
but now I get the error
Mysql2::Error: Table 'foodsoft_development.settings' doesn't
exist: SHOW FULL FIELDS FROM `settings`
any advice?
Thanks!