Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int2 | 5 | √ | nextval('absencetype_id_seq'::regclass) |
|
|
Unique ID |
||||
| created_at | timestamp | 29,6 | now() |
|
|
Timestamp of creation |
|||||
| updated_at | timestamp | 29,6 | now() |
|
|
Timestamp of last update |
|||||
| id_creator | int4 | 10 | null |
|
|
Reference to the creator |
|||||
| id_updater | int4 | 10 | null |
|
|
Reference to the last updater |
|||||
| code | text | 2147483647 | null |
|
|
Unique code of the absence type |
|||||
| name | text | 2147483647 | null |
|
|
The name of the absence type |
|||||
| time_01 | bool | 1 | false |
|
|
TRUE means a time part is needed |
|||||
| approval_01 | bool | 1 | false |
|
|
TRUE means an approval process is needed |
|||||
| note | text | 2147483647 | √ | null |
|
|
A note for absence type |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_absencetype_id | Primary key | Asc | id |
| u_absencetype_code | Must be unique | Asc | code |