Cuba Studio: Datatypes do not match when adding an association to property to an existing entity

If you generate a model from an imported lightswitch application, and attempt to add a new association property to an existing entity, the database update will fail due to mismatched datatypes.

Specifically this happens because the lightswitch IDENTITY PK is INT and the script generated by Cuba Studio will attempt to create a FK with the datatype of BIGINT.

Hi,
Thank you for reporting the problem.

Hi,
The problem is solved in the platform version 6.6.0.

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/STUDIO-3669