Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_templatecustomfields_id_seq'::regclass) |
|
|
Primary key |
|
| name | varchar | 200 | √ | null |
|
|
The internal, programmatic name for the custom field (e.g., “project_code,” “date_completed”). |
|
| field_type | varchar | 200 | √ | null |
|
|
The data type of the field (e.g., TEXT, NUMBER, DATE, DROPDOWN, BOOLEAN). |
|
| label | varchar | 200 | √ | null |
|
|
The user-facing display label for the field (e.g., “Project Code,” “Completion Date”). |
|
| note | varchar | 200 | √ | null |
|
|
Help text or instructional note displayed to the user filling out this field. |
|
| isdefault | bool | 1 | √ | null |
|
|
Boolean flag: Indicates if this custom field is a mandatory, system-defined default field that cannot be removed by administrators. |
|
| status | bool | 1 | √ | null |
|
|
Boolean flag: Indicates if the custom field is currently active and available for selection in template creation forms. |
|
| stage | varchar | 100 | √ | null |
|
|
Current Status: Not used in code. |
|
| createdby | varchar | 50 | √ | null |
|
|
||
| modifiedby | varchar | 50 | √ | null |
|
|
||
| createddate | timestamp | 29,6 | √ | null |
|
|
||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_templatecustomfields_pk_tbl_templatecustomfields | Primary key | Asc | id |
