DB changed to PG from SQLLITE