7.3.7 CE GA8, 7.4.0 CE GA1
If one declares a mapping-table as one of the tables declared as entities, service builder will create all elements correctly: model hints, indexes, tables.
However, although it creates model hints and services correctly, the table in tables.sql is always overwritten with one that only has the primary keys, regardless of the columns described in the entity.
- Declare 2 entities, with a mapping-table specified.
- Declare an entity as the mapping table, adding the primary keys of the 2 entities and a companyId with an extra column.
All elements should be created with the extra column in the mapping table: hints, table, services...
All elements are created as expected, except for tables.sql, which skips the extra column.