Revert sqlite changes