Changed DB integrity methods to return boolean