simulated constraints in a mysql database so they can be added and removed