diff --git a/src/AppBundle/Resources/config/doctrine/Claim.orm.yml b/src/AppBundle/Resources/config/doctrine/Claim.orm.yml index a58a4d99..e4f341ad 100644 --- a/src/AppBundle/Resources/config/doctrine/Claim.orm.yml +++ b/src/AppBundle/Resources/config/doctrine/Claim.orm.yml @@ -1,6 +1,9 @@ AppBundle\Entity\Claim: type: entity table: claim + uniqueConstraints: + usercard_index: + columns: [ decklist_id, client_id, name, rank ] id: id: type: integer