#1692 make CG names unique on db level
Closed by tkopecek. Opened by tkopecek.
tkopecek/koji issue1668  into  master

Download 1692.patch

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

Metadata