Skip to content

Commit 2a013fa

Browse files
authored
Remove unique constraint from publicKeyCredentialId field (#695)
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.
1 parent 9d46f22 commit 2a013fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/symfony/src/Resources/config/doctrine-mapping/PublicKeyCredentialSource.orm.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd"
66
>
77
<mapped-superclass name="Webauthn\PublicKeyCredentialSource">
8-
<field name="publicKeyCredentialId" type="base64" unique="true" length="250"/>
8+
<field name="publicKeyCredentialId" type="base64"/>
99
<field name="type"/>
1010
<field name="transports" type="json"/>
1111
<field name="attestationType"/>

0 commit comments

Comments
 (0)