returning false when altering database fails