Skip to content

Commit

Permalink
Remove unique constraint from publicKeyCredentialId field (#695)
Browse files Browse the repository at this point in the history
The unique constraint on the publicKeyCredentialId field was removed to allow greater flexibility in data handling. This change ensures compatibility with scenarios where the uniqueness of the field is not a strict requirement.
  • Loading branch information
Spomky authored Feb 16, 2025
1 parent 9d46f22 commit 2a013fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd"
>
<mapped-superclass name="Webauthn\PublicKeyCredentialSource">
<field name="publicKeyCredentialId" type="base64" unique="true" length="250"/>
<field name="publicKeyCredentialId" type="base64"/>
<field name="type"/>
<field name="transports" type="json"/>
<field name="attestationType"/>
Expand Down

0 comments on commit 2a013fa

Please sign in to comment.