MySQL has only partial constraints, it doesn't manage CHECK. So we use Tryton to check those constraints.