remove lastactivity from sql