Appearance
ColumnDefinitionType Enum
Specifies the type of column definition operation produced during schema comparison or DDL generation.
Namespace: JASE.Database
Assembly: JASE.Database.dll
Underlying Type int
Fields
| Name | Value | Description |
|---|---|---|
Create | 10 | The column does not exist in the target schema and must be created. |
Change | 20 | The column exists but requires a modification to its core definition, such as datatype, precision/scale, collation, or computed expression. |
Add | 30 | The column should be added to an existing table. |
Drop | 40 | The column should be removed from the table. |
ChangeDefault | 50 | The column's default value needs to be added, removed, or replaced. |
ChangeNull | 60 | The column's NULL/NOT NULL constraint needs to be updated. |
Remarks
These values represent discrete changes that may be applied when reconciling a table schema with a model definition (e.g., during migration generation or diff analysis).