Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('ir_model_fields_id_seq'::regclass) |
|
|
|||||||||||||||||||||||||||||||||||
| relation_field_id | int4 | 10 | √ | null |
|
|
Relation field |
||||||||||||||||||||||||||||||||||
| model_id | int4 | 10 | null |
|
|
Model |
|||||||||||||||||||||||||||||||||||
| int4 | 10 | √ | null |
|
|
Related field |
|||||||||||||||||||||||||||||||||||
| size | int4 | 10 | √ | null |
|
|
Size |
||||||||||||||||||||||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
||||||||||||||||||||||||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
||||||||||||||||||||||||||||||||||
| name | varchar | 2147483647 | null |
|
|
Field Name |
|||||||||||||||||||||||||||||||||||
| complete_name | varchar | 2147483647 | √ | null |
|
|
Complete Name |
||||||||||||||||||||||||||||||||||
| model | varchar | 2147483647 | null |
|
|
Model Name |
|||||||||||||||||||||||||||||||||||
| relation | varchar | 2147483647 | √ | null |
|
|
Related Model |
||||||||||||||||||||||||||||||||||
| relation_field | varchar | 2147483647 | √ | null |
|
|
Relation Field |
||||||||||||||||||||||||||||||||||
| ttype | varchar | 2147483647 | null |
|
|
Field Type |
|||||||||||||||||||||||||||||||||||
| varchar | 2147483647 | √ | null |
|
|
Related Field |
|||||||||||||||||||||||||||||||||||
| state | varchar | 2147483647 | null |
|
|
Type |
|||||||||||||||||||||||||||||||||||
| on_delete | varchar | 2147483647 | √ | null |
|
|
On Delete |
||||||||||||||||||||||||||||||||||
| domain | varchar | 2147483647 | √ | null |
|
|
Domain |
||||||||||||||||||||||||||||||||||
| relation_table | varchar | 2147483647 | √ | null |
|
|
Relation Table |
||||||||||||||||||||||||||||||||||
| column1 | varchar | 2147483647 | √ | null |
|
|
Column 1 |
||||||||||||||||||||||||||||||||||
| column2 | varchar | 2147483647 | √ | null |
|
|
Column 2 |
||||||||||||||||||||||||||||||||||
| depends | varchar | 2147483647 | √ | null |
|
|
Dependencies |
||||||||||||||||||||||||||||||||||
| currency_field | varchar | 2147483647 | √ | null |
|
|
Currency field |
||||||||||||||||||||||||||||||||||
| field_description | jsonb | 2147483647 | null |
|
|
Field Label |
|||||||||||||||||||||||||||||||||||
| help | jsonb | 2147483647 | √ | null |
|
|
Field Help |
||||||||||||||||||||||||||||||||||
| compute | text | 2147483647 | √ | null |
|
|
Compute |
||||||||||||||||||||||||||||||||||
| copied | bool | 1 | √ | null |
|
|
Copied |
||||||||||||||||||||||||||||||||||
| required | bool | 1 | √ | null |
|
|
Required |
||||||||||||||||||||||||||||||||||
| readonly | bool | 1 | √ | null |
|
|
Readonly |
||||||||||||||||||||||||||||||||||
| index | bool | 1 | √ | null |
|
|
Indexed |
||||||||||||||||||||||||||||||||||
| translate | bool | 1 | √ | null |
|
|
Translatable |
||||||||||||||||||||||||||||||||||
| group_expand | bool | 1 | √ | null |
|
|
Expand Groups |
||||||||||||||||||||||||||||||||||
| selectable | bool | 1 | √ | null |
|
|
Selectable |
||||||||||||||||||||||||||||||||||
| store | bool | 1 | √ | null |
|
|
Stored |
||||||||||||||||||||||||||||||||||
| sanitize | bool | 1 | √ | null |
|
|
Sanitize HTML |
||||||||||||||||||||||||||||||||||
| sanitize_overridable | bool | 1 | √ | null |
|
|
Sanitize HTML overridable |
||||||||||||||||||||||||||||||||||
| bool | 1 | √ | null |
|
|
Sanitize HTML Tags |
|||||||||||||||||||||||||||||||||||
| sanitize_attributes | bool | 1 | √ | null |
|
|
Sanitize HTML Attributes |
||||||||||||||||||||||||||||||||||
| sanitize_style | bool | 1 | √ | null |
|
|
Sanitize HTML Style |
||||||||||||||||||||||||||||||||||
| sanitize_form | bool | 1 | √ | null |
|
|
Sanitize HTML Form |
||||||||||||||||||||||||||||||||||
| strip_style | bool | 1 | √ | null |
|
|
Strip Style Attribute |
||||||||||||||||||||||||||||||||||
| strip_classes | bool | 1 | √ | null |
|
|
Strip Class Attribute |
||||||||||||||||||||||||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
||||||||||||||||||||||||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
||||||||||||||||||||||||||||||||||
| tracking | int4 | 10 | √ | null |
|
|
Enable Ordered Tracking |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| ir_model_fields_pkey | Primary key | Asc | id |
| ir_model_fields__complete_name_index | Performance | Asc | complete_name |
| ir_model_fields__model_id_index | Performance | Asc | model_id |
| ir_model_fields__model_index | Performance | Asc | model |
| ir_model_fields__name_index | Performance | Asc | name |
| ir_model_fields__state_index | Performance | Asc | state |
| ir_model_fields_name_unique | Must be unique | Asc/Asc | model + name |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| ir_model_fields_name_manual_field | ((((state)::text <> 'manual'::text) OR ((name)::text ~~ 'x\_%%'::text))) |
| ir_model_fields_size_gt_zero | ((size >= 0)) |

