Skip to content

When adding two columns with the same phpName in schema.xml, two methods with the same name will be generated #1069

@pthreat

Description

@pthreat

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions