Skip to content

Commit

Permalink
Be explicit about column names
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard authored Dec 17, 2019
1 parent db2fb3b commit 6219b1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/config/doctrine/CreditMemo.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<id name="id" column="id" type="string" />

<field name="number" />
<field name="orderNumber" />
<field name="orderNumber" column="order_number" />
<field name="total" type="integer" />
<field name="units" type="json" />
<field name="currencyCode" />
Expand All @@ -37,7 +37,7 @@
</one-to-one>

<indexes>
<index columns="orderNumber" />
<index columns="order_number" />
</indexes>
</mapped-superclass>
</doctrine-mapping>

0 comments on commit 6219b1e

Please sign in to comment.