Changed sqlite3 for pg in production environment