Skip to content

Commit

Permalink
renamed channels to follow setono convention
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Dec 9, 2019
1 parent 3c64808 commit 1a72da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/config/doctrine/model/Redirect.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<mapped-superclass name="Setono\SyliusRedirectPlugin\Model\Redirect" table="setono_redirect">
<mapped-superclass name="Setono\SyliusRedirectPlugin\Model\Redirect" table="setono_sylius_redirect__redirect">
<id name="id" column="id" type="integer">
<generator strategy="AUTO"/>
</id>
Expand All @@ -31,7 +31,7 @@
</field>

<many-to-many field="channels" target-entity="Sylius\Component\Channel\Model\ChannelInterface">
<join-table name="setono_redirect_channels">
<join-table name="setono_sylius_redirect__redirect_channels">
<join-columns>
<join-column name="redirect_id" referenced-column-name="id" nullable="false" on-delete="CASCADE"/>
</join-columns>
Expand Down

0 comments on commit 1a72da9

Please sign in to comment.