On Wed, Nov 12, 2008 at 2:51 PM, Damaris Fuentes <[EMAIL PROTECTED]> wrote: > > Newbie :) I've written a message but I don't see it publihsed, so I > try again. > > I have imported an app. The database.yml is something like > adapter: mysql > host: mycomputer.es > database: mydb_development > user: root > password: mypwd > > The same with test and production. However, when starting an > application, this error appears: > > ActiveRecord::StatementInvalid in ComplaintsController#index > PGError: ERROR: relation "users" does not exist > : SELECT * FROM "users" ORDER BY created_at DESC LIMIT 12 > ... > /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ > connection_adapters/postgresql_adapter.rb:446:in `execute' > ... > > How can this be possible? I am stating that I am using mysql adapter.
In your git push, Heroku execute migrations? In my app, it's run but I using sqlite3, so in .gitignore include db/*.sqlite3 -- Weldys Santos Web Developer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
