changed the database configuration so it uses postgresql instead of sqlite3