Skip to content

Commit

Permalink
Merge pull request #580 from plural/fix-claims
Browse files Browse the repository at this point in the history
Fix Claim rank column and add a unique index.
  • Loading branch information
plural authored Jan 28, 2022
2 parents dd8ff61 + ef0e861 commit cc5b132
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AppBundle/Resources/config/doctrine/Claim.orm.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -36,6 +39,7 @@ AppBundle\Entity\Claim:
type: string
length: '255'
rank:
column: "`rank`"
type: smallint
participants:
type: smallint
Expand Down

0 comments on commit cc5b132

Please sign in to comment.