Skip to content

Commit

Permalink
Revert "Add column-name override for 'rank' field, is now a reserved …
Browse files Browse the repository at this point in the history
…word in MySQL 8"

This reverts commit caa228a.
  • Loading branch information
jonesde committed Dec 6, 2019
1 parent caa228a commit 7df5443
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions framework/entity/TestEntities.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ along with this software (see the LICENSE.md file). If not, see
<entity entity-name="Bar" package="moqui.test" sequence-bank-size="100">
<field name="barId" type="id" is-pk="true" />
<field name="fooId" type="id"/>
<!-- NOTE: 'RANK' is now a reserved word in MySQL 8 -->
<field name="rank" column-name="BAR_RANK" type="number-integer"/>
<field name="score" column-name="BAR_SCORE" type="number-decimal"/>
<field name="rank" type="number-integer"/>
<field name="score" type="number-decimal"/>
</entity>
<view-entity entity-name="FooBar" package="moqui.test">
<member-entity entity-alias="T1" entity-name="moqui.test.Foo" />
Expand Down

0 comments on commit 7df5443

Please sign in to comment.