Removing all of the sql stuff