Use PostgreSQL instead of sqlite
Change db to postgresql