Hello Renoke,

It is ok/good to use sqlite locally, but on the server, Heroku will be  
running postgresql

So any databases you check into git, and the config/database.yml file  
will be ignored

--Keenan
On Mar 4, 2009, at 1:27 PM, renoke wrote:

>
> Hi,
>
> I have a similar error running an rails app with sqlite3. I have the
> following error when I run heroku rake db:migrate
>
> /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
> connection_adapters/abstract_adapter.rb:188:in `log': PGError: ERROR:
> relation "categories" does not exist (ActiveRecord::StatementInvalid)
> :             SELECT a.attname, format_type(a.atttypid, a.atttypmod),
> d.adsrc, a.attnotnull
>              FROM pg_attribute a LEFT JOIN pg_attrdef d
>                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
>             WHERE a.attrelid = 'categories'::regclass
>               AND a.attnum > 0 AND NOT a.attisdropped
>             ORDER BY a.attnum
>       from /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/ 
> active_record/
> connection_adapters/postgresql_adapter.rb:490:in
> `query_without_graceful_reconnect'
>
> It seems that ActiveRecord is looking for postgresql driver.
>
> my app is luffadmin.heroku.com
>
> Thank you for your help,
>
> Renoke
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to