Set a uniqueness constraint on the content generator name in the database.
Prior to this change, we were only enforcing this in the hub application layer. Configure this in postgres for safety.
Based on https://pagure.io/koji/pull-request/1159
Fixes: https://pagure.io/koji/issue/1668
Metadata Update from @tkopecek: - Pull-request tagged with: testing-ready
Metadata Update from @jcupova: - Pull-request tagged with: testing-done
Pull-Request has been closed by tkopecek
Set a uniqueness constraint on the content generator name in the database.
Prior to this change, we were only enforcing this in the hub application layer. Configure this in postgres for safety.
Based on https://pagure.io/koji/pull-request/1159
Fixes: https://pagure.io/koji/issue/1668