Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| resource_id | varchar | 254 | √ | null |
|
|
Opiskelijatiedon tunniste |
|
| oppilaitos_oid | varchar | 254 | √ | null |
|
|
Oppilaitos |
|
| luokkataso | varchar | 254 | √ | null |
|
|
Luokkataso |
|
| luokka | varchar | 254 | √ | null |
|
|
Luokka |
|
| henkilo_oid | varchar | 254 | √ | null |
|
|
Henkilö, jota opiskelijatieto koskee |
|
| alku_paiva | int8 | 19 | √ | null |
|
|
Alkupäivä (aikaleima) |
|
| loppu_paiva | int8 | 19 | √ | null |
|
|
Loppupäivä (aikaleima) |
|
| inserted | int8 | 19 | √ | null |
|
|
Opiskelijatiedon kantatallennuksen aikaleima |
|
| deleted | bool | 1 | √ | null |
|
|
Onko opiskelijatieto merkitty poistetuksi |
|
| source | varchar | 254 | √ | null |
|
|
Opiskelijatiedon lähde |
|
| current | bool | 1 | √ | false |
|
|
Onko tämä opiskelijatieto tuorein versio itsestään |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| opiskelija_inserted_current_idx | Performance | Asc/Asc | inserted + current |
| opiskelija_new_henkilo_oid_idx | Performance | Asc | henkilo_oid |
| opiskelija_new_resource_id_inserted_idx | Must be unique | Asc/Asc | resource_id + inserted |
| oppilaitos_new_oid_idx | Performance | Asc | oppilaitos_oid |
