Interface: DatabaseFieldDefinition
Defined in: electron/services/database/utils/dynamicSchema.ts:184
Database field definition for dynamic monitor schema.
Remarks
Used to describe dynamically generated columns for monitor types. All fields are mapped from monitor type registry definitions and used in dynamic schema generation.
Properties
columnName
columnName:
string
Defined in: electron/services/database/utils/dynamicSchema.ts:191
Column name in database (snake_case).
Remarks
Generated from the monitor type field name.
defaultValue?
optionaldefaultValue:string|null
Defined in: electron/services/database/utils/dynamicSchema.ts:200
Default value for the column.
Remarks
Always null for dynamic fields.
Default Value
null;
monitorType
monitorType:
string
Defined in: electron/services/database/utils/dynamicSchema.ts:204
Monitor type this field belongs to.
nullable
nullable:
boolean
Defined in: electron/services/database/utils/dynamicSchema.ts:213
Whether column allows NULL values.
Remarks
All dynamic fields are nullable.
Default Value
true;
sourceField
sourceField:
string
Defined in: electron/services/database/utils/dynamicSchema.ts:217
Field name from monitor type definition (camelCase).
sqlType
sqlType:
string
Defined in: electron/services/database/utils/dynamicSchema.ts:224
SQL data type for the column.
Remarks
Determined by monitor type registry field type.