Skip to content

Commit

Permalink
Revert "Fix roles doctrine type mapping"
Browse files Browse the repository at this point in the history
This reverts commit fbe6b24.
  • Loading branch information
core23 committed Mar 4, 2024
1 parent e49ced1 commit 8403e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Resources/config/doctrine-mapping/Group.orm.xml
Expand Up @@ -2,6 +2,6 @@
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<mapped-superclass name="Nucleos\UserBundle\Model\Group">
<field name="name" column="name" type="string" length="180" unique="true"/>
<field name="roles" column="roles" type="json"/>
<field name="roles" column="roles" type="array"/>
</mapped-superclass>
</doctrine-mapping>
2 changes: 1 addition & 1 deletion src/Resources/config/doctrine-mapping/User.orm.xml
Expand Up @@ -10,6 +10,6 @@
<field name="passwordRequestedAt" column="password_requested_at" type="datetime" nullable="true"/>
<field name="locale" type="string" column="locale" length="8" nullable="true"/>
<field name="timezone" type="string" column="timezone" length="64" nullable="true"/>
<field name="roles" column="roles" type="json"/>
<field name="roles" column="roles" type="array"/>
</mapped-superclass>
</doctrine-mapping>

0 comments on commit 8403e21

Please sign in to comment.