Interface: DatabaseFieldDefinition
Defined in: electron/services/database/utils/schema/dynamicSchema.ts:244
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/schema/dynamicSchema.ts:251
Column name in database (snake_case).
Remarks
Generated from the monitor type field name.
defaultValue?
optionaldefaultValue?:string|null
Defined in: electron/services/database/utils/schema/dynamicSchema.ts:260
Default value for the column.
Remarks
Always null for dynamic fields.
Default Value
null;
monitorType
monitorType:
string
Defined in: electron/services/database/utils/schema/dynamicSchema.ts:264
Monitor type this field belongs to.
nullable
nullable:
boolean
Defined in: electron/services/database/utils/schema/dynamicSchema.ts:273
Whether column allows NULL values.
Remarks
All dynamic fields are nullable.
Default Value
true;
sourceField
sourceField:
string
Defined in: electron/services/database/utils/schema/dynamicSchema.ts:277
Field name from monitor type definition (camelCase).
sqlType
sqlType:
string
Defined in: electron/services/database/utils/schema/dynamicSchema.ts:284
SQL data type for the column.
Remarks
Determined by monitor type registry field type.