Skip to content

Commit

Permalink
edit entity config
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszWojdalowicz committed May 17, 2022
1 parent dc70870 commit 6a86eaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Resources/config/doctrine/Banner.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<generator strategy="AUTO"/>
</id>
<field name="path" column="path" unique="true"/>
<field name="alt" column="alt"/>
<field name="alt" column="alt" nullable="true"/>
<field name="fileName" column="filename"/>
<field name="link" column="link"/>
<field name="link" column="link" nullable="true"/>
<field name="priority" column="priority" type="integer"/>

<many-to-one field="locale" target-entity="Sylius\Component\Locale\Model\LocaleInterface">
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/doctrine/Section.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
</id>
<field name="name" column="name" unique="true"/>
<field name="code" column="code" unique="true"/>
<field name="width" column="width" type="integer"/>
<field name="height" column="height" type="integer"/>
<field name="width" column="width" type="integer" nullable="true"/>
<field name="height" column="height" type="integer" nullable="true"/>

<one-to-many field="banners" target-entity="BitBag\SyliusBannerPlugin\Entity\Banner" mapped-by="section"/>
</mapped-superclass>
Expand Down

0 comments on commit 6a86eaf

Please sign in to comment.