Change constraint generated by migration.

Previous the constraint select a specific version+build. But builds get
lost in the ER2 when updating the release. Now all updates including
minor updates are allowed by convention.