Changed adapter for production from sqlite3 to postgresql