I created an entity “Material” inherited from StandardEntity, it has three own attributes:
- matName, string 256
- matFile, association 1:1 to FileDescriptor with on delete CASCADE option
- matActivities, association n:n to my another entity with on delete CASCADE option
And when I click to a “Generate DB scripts” button I get the createMaterial.sql:
create table VOLUNTEER_MATERIAL ( DELETE_TS timestamp, DELETED_BY varchar(50), MAT_NAME varchar(255), MAT_FILE_ID uuid,
There is no id, create_ts, created_by etc. not even speaking about closing parenthesis.
I tried to change order of my attributes.
I even downloaded and installed the latest version of Cuba Studio server 6.8.5 but got the same result.
I don’t think that it is my fault.
Of course I’ll finish the script myself now but please correct the error.