In PostgreSQL, a composite type is a user-defined data type that allows you to create a structure containing multiple columns. In Luna Modeler composite types can be created as reusable objects.
How to add a new composite type to the PostgreSQL ER diagram
In the main toolbar click the Composite button and then click the diagram area.
You can also add new composite type via context menu:
Editing composite type properties
In the right-side panel, you can specify the Name for the Composite type and specify description, add columns and define other properties.
How to use the Composite type in your PostgreSQL project?
Composite types can be selected in the same way as standard data types. Just pick the Composite type from the datatype drop-down.
SQL Script
See below a screenshot that displays the SQL script generated for the PostgreSQL project
#