Work on the pgsql and sqlite DB's with the new updates