How to downgrade from psql version 9.3.1 to 9.2.4
Posted
by
peeyush singla
on Ask Ubuntu
See other posts from Ask Ubuntu
or by peeyush singla
Published on 2013-11-06T14:19:20Z
Indexed on
2013/11/06
16:13 UTC
Read the original article
Hit count: 345
I am building up a rails application that I cloned from my friend. I am using Ubuntu 13.10, rails 3.2.14. I am using a postgresql database and when I try to run rake db:migrate it gives me some error like this:
PG::UndefinedObject: ERROR: type "json" does not exist
LINE 1: ALTER TABLE "filters" ADD COLUMN "search_string" json
I installed pg version :- 9.3.1 but my friend is working on 9.2.4 I don't know why this error is occurring, I tried several times to downgrade using purge or remove commands to remove 9.3.1 all goes well but when I check psql --version it again shows me 9.3.1 . Any solution ???
© Ask Ubuntu or respective owner