Data Types and DBMS Features

Column type choices in the ERD are shown for the connected DBMS. You can manage DBMS built-in types, user-defined types, and table options in one place.

How Type Lists Are Built

The Data Type cell in the column grid shows a type list for the current Connection's DBMS. Displayed types and apply results can differ across DBMSs such as MySQL, PostgreSQL, Oracle, SQL Server, and SQLite.

ItemBehavior
Built-in typesProvides commonly used types for the selected DBMS as a list.
Manual inputYou can manually enter types that are not in the list.
Size and scaleFor types that need it, specify length and decimal digits together.
Default valueEnter literal values, SQL expressions, or an unset state separately.

Default Value Input Mode

In the Default Value cell, you can specify the nature of the value. Enter strings and numbers as Value, and database functions or sequences such as CURRENT_TIMESTAMP or seq.nextval as Expression.

ModeBehavior
ValueGenerates DDL as a literal value according to the column type and DBMS rules.
ExpressionApplies the entered SQL expression to DDL without wrapping it in quotes.
Not SetRemoves the column default value.

User-Defined Types

If the database has user-defined types, they appear in the column type list. NeoSQL supports PostgreSQL enum, domain, composite, and range families, Oracle Object Type, and SQL Server alias/CLR type. If types with the same name exist in multiple Schemas, they are distinguished by Schema name.

Note:

If a user-defined type does not appear, refresh the Schema or category and check again.

ENUM and SET Values

MySQL/MariaDB built-in ENUM or SET types can be edited in a separate value-list modal. PostgreSQL enum works by selecting a user-defined type already defined in the DB, and if you change to another type, the previous value list is no longer used.

SituationResult
ENUM/SET selectedManage allowed values through the value-list editing modal.
Changed to another typeThe existing value list is removed and only the new type is applied.
UDT enum selectedSelect a type already defined in the DB.

Extra Table Properties

For MySQL/MariaDB connections, you can select Engine, Character Set, and Collation in the table basic information area of the detail panel. When Character Set changes, the available Collation list is updated together.

OptionDescription
EngineSelect a storage engine provided by the server.
Character SetSelect the table's default character set.
CollationSelect a sorting rule available for the selected Character Set.
Apply to DBReview changed options in the DDL preview before applying them to the DB.