My scenario is the following (I haven’t tested it in other combinations):
create an entity with
'generateDdl': false, and in my case it is also a
Userentity and mark it as replace parent
create a MANY_TO_MANY relation in the extended
Tested with Studio 6.9.5 and the same CUBA version.
Now create DB scripts, and notice that the
alter table SEC_USER and
update SEC_USER statements has been added to
10.create-db.sql, but the join table has not been scripted.
It shouldn’t matter the
'generateDdl': false attribute in cases like this, because the many to many join table can be created even between two
dbViews, and its init/update DDL statements should always be generated.