Story #8762
Updated by bmbouter over 3 years ago
Also add validation in the serializer to disallow the user from setting both `repository` and `publication` at the same time.
Additionally add a migration that will auto-correct the data in any Distributions so that both `repository` and `publication` are not set together.