change DB from sqlite3 to postgresql-9.1