Contestations and Constraints for Databases