This adds unique constraints but disables them by adding a column that is always NULL. Changing a config setting and running an admin command enables the constraints.
See #145 (closed) (issue should remain open until we make this mandatory in uffd v3)
TODOs: