Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| akpl_id | int8 | 19 | null |
|
|
|||||||||||||||
| pers_id | int8 | 19 | √ | null |
|
|
||||||||||||||
| akti_id | int8 | 19 | √ | null |
|
|
||||||||||||||
| startdato | timestamp | 22 | √ | null |
|
|
||||||||||||||
| slutdato | timestamp | 22 | √ | null |
|
|
||||||||||||||
| logi | varchar | 1 | √ | null |
|
|
||||||||||||||
| hopl_id | int8 | 19 | √ | null |
|
|
||||||||||||||
| ivku_id | int8 | 19 | √ | null |
|
|
||||||||||||||
| kupl_id | int8 | 19 | √ | null |
|
|
||||||||||||||
| a260book_id | int8 | 19 | √ | null |
|
|
||||||||||||||
| opdmod | varchar | 4 | √ | null |
|
|
||||||||||||||
| opdinit | varchar | 30 | √ | null |
|
|
||||||||||||||
| opdtid | timestamp | 22 | √ | null |
|
|
||||||||||||||
| periode_endret | varchar | 1 | √ | null |
|
|
||||||||||||||
| ovpl_id | int8 | 19 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| akpl_pk | Primary key | Asc | akpl_id |
| akpl_akpl1_uk | Must be unique | Asc/Asc/Asc/Asc/Asc/Asc/Asc | pers_id + akti_id + startdato + hopl_id + ivku_id + kupl_id + ovpl_id |
| akpl_akti_fk_i | Performance | Asc | akti_id |
| akpl_hopl_fk_i | Performance | Asc | hopl_id |
| akpl_hopl_id_idx | Performance | Asc | hopl_id |
| akpl_ivku_fk_i | Performance | Asc | ivku_id |
| akpl_kupl_fk_i1 | Performance | Asc | kupl_id |
| akpl_kupl_id_idx | Performance | Asc | kupl_id |
| akpl_ovpl2_fk_i | Performance | Asc | ovpl_id |
| akpl_pers_fk_i | Performance | Asc | pers_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| aktivitetsplaceringer_check2 | (('LOGI' IS NOT NULL)) |
| aktivitetsplaceringer_check7 | (('PERS_ID' IS NOT NULL)) |
| aktivitetsplaceringer_check6 | (('PERIODE_ENDRET' IS NOT NULL)) |
| aktivitetsplaceringer_check | (('AKPL_ID' IS NOT NULL)) |
| aktivitetsplaceringer_check3 | (('OPDINIT' IS NOT NULL)) |
| aktivitetsplaceringer_check1 | (('AKTI_ID' IS NOT NULL)) |
| aktivitetsplaceringer_check5 | (('OPDTID' IS NOT NULL)) |
| aktivitetsplaceringer_check9 | (('STARTDATO' IS NOT NULL)) |
| aktivitetsplaceringer_check8 | (('SLUTDATO' IS NOT NULL)) |
| aktivitetsplaceringer_periode_endret_check | (((periode_endret)::text = ANY ((ARRAY['J'::character varying, 'N'::character varying])::text[]))) |
| aktivitetsplaceringer_check4 | (('OPDMOD' IS NOT NULL)) |
| aktivitetsplaceringer_logi_check | (((logi)::text = ANY ((ARRAY['J'::character varying, 'N'::character varying])::text[]))) |