When adding two columns with the same phpName in schema.xml, two methods with the same name will be generated
pthreat opened this issue · 0 comments
pthreat commented
The following schema will generate two filterByName methods in the resulting SocialNetworkQuery class
<table name="social_network" idMethod="native" phpName="SocialNetwork">
<column name="id" phpName="Id" sqlType="int(10) unsigned" primaryKey="true" autoIncrement="true" required="true" />
<column name="name" phpName="Name" type="VARCHAR" size="45" required="true" />
<column name="url" phpName="Name" type="VARCHAR" size="120" required="false" />
<column name="description" phpName="Name" type="VARCHAR" size="255" required="false" />
</table>