<?xml version="1.0" encoding="UTF-8"?><database name="lampi" schema="ovara_pub" type="PostgreSQL - 17.4">
   <tables>
      <table catalog="lampi" name="pub_dim_arvosana_yo" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="henkilo_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12">
            <child catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakutoive"/>
            <child catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_henkilo"/>
            <child catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_valinnantulos"/>
            <child catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_hakemus"/>
            <child catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_hakijat_kk"/>
            <child catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_tilastoraportti_2aste_hakutoive"/>
            <child catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_tilastoraportti_kk_hakutoive"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="arvosanat" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <primaryKey column="henkilo_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_arvosana_yo_henkilo_oid_pk" unique="true">
            <column ascending="true" name="henkilo_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_ensikertalainen" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakuoid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="henkilooid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="isensikertalainen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="menettamisenperuste" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="menettamisenpaivamaara" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="0a326a8ab19a8fdfe9ba6dd2b249d075" unique="false">
            <column ascending="true" name="hakuoid"/>
         </index>
         <index name="b7a6deff1a7d38f95cfc8efcd8ac0f5a" unique="false">
            <column ascending="true" name="henkilooid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_haku" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="haku_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="haku_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ulkoinen_tunniste" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="hakutapakoodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="hakuajat" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="hakutapa_koodi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="hakutapa_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="kohdejoukkokoodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="kohdejoukko_koodi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="kohdejoukko_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="kohdejoukontarkennekoodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="kohdejoukontarkenne_koodi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="kohdejoukontarkenne_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="koulutuksen_alkamiskausi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="haun_tyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="haku_nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="haku_nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="haku_nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="hakukohteiden_priorisointi" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="haku_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_haku_haku_oid_pk" unique="true">
            <column ascending="true" name="haku_oid"/>
         </index>
         <index name="8456e29ccde6695e975a8728c68d7173" unique="false">
            <column ascending="true" name="koulutuksen_alkamiskausi"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_hakukohde" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakukohde_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12">
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohderyhma_ja_hakukohteet"/>
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakutoive"/>
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakutoive_toinen_aste"/>
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_valinnantulos"/>
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_hakijat_toinen_aste"/>
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_tilastoraportti_2aste_hakutoive"/>
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_tilastoraportti_kk"/>
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_tilastoraportti_kk_hakutoive"/>
            <child catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_tilastoraportti_toinen_aste"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hakukohde_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ulkoinen_tunniste" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="haku_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="toteutus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="jarjestyspaikka_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="jarjestyspaikka_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="hakukohteen_aloituspaikat" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="valintaperusteiden_aloituspaikat" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="aloituspaikat_ensikertalaisille" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="hakukohdekoodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="hakuajat" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="kaytetaan_haun_aikataulua" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="on_valintakoe" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="tutkinnon_taso_sykli" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="koulutuksen_alkamiskausi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="koulutuksen_alkamiskausi_tyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="koulutuksen_alkamiskausi_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="17" id="19" name="koulutuksen_alkamisvuosi" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="henkilokohtaisen_suunnitelman_lisatiedot" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="toinen_aste_onko_kaksoistutkinto" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="22" name="jarjestaa_urheilijan_ammkoulutusta" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="23" name="oppilaitoksen_opetuskieli" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="24" name="koulutus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="koulutus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koulutus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="25" name="koulutustoimija" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="26" name="koulutustoimija_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="27" name="oppilaitos" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="28" name="oppilaitos_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="29" name="toimipiste" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="30" name="toimipiste_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="31" name="organisaatio_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="32" name="sijaintikunta" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="33" name="sijaintikunta_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="34" name="sijaintimaakunta" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="35" name="sijaintimaakunta_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="36" name="alempi_kk_aste" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="37" name="ylempi_kk_aste" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="38" name="okm_ohjauksen_ala" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="39" name="koulutusala" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="40" name="koulutusala_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="41" name="valintaperuste_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="42" name="hakukohde_nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="43" name="hakukohde_nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="44" name="hakukohde_nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="45" name="pohjakoulutuskoodit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <primaryKey column="hakukohde_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_hakukohde_hakukohde_oid_pk" unique="true">
            <column ascending="true" name="hakukohde_oid"/>
         </index>
         <index name="6cafbda6834e9ae1e79437e800167bcd" unique="false">
            <column ascending="true" name="toteutus_oid"/>
         </index>
         <index name="9b58008d402f01f2af00af09846eb0f9" unique="false">
            <column ascending="true" name="haku_oid"/>
         </index>
         <index name="bc3902faa1f67688a3f74a57379f7165" unique="false">
            <column ascending="true" name="koulutus_oid"/>
         </index>
         <index name="idx_hakukohde_oppilaitos_vuosi" unique="false">
            <column ascending="true" name="oppilaitos"/>
            <column ascending="true" name="koulutuksen_alkamisvuosi"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_hakukohderyhma" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakukohderyhma_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hakukohderyhma_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
      </table>
      <table catalog="lampi" name="pub_dim_hakukohderyhma_ja_hakukohteet" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakukohderyhma_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hakukohderyhma_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="haku_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="hakukohderyhma_id" sequenceNumberInPK="1"/>
         <index name="pub_dim_hakukohderyhma_ja_hakukohteet_hakukohderyhma_id_pk" unique="true">
            <column ascending="true" name="hakukohderyhma_id"/>
         </index>
         <index name="18feef03b71a9224792afe80207a2eae" unique="false">
            <column ascending="true" name="hakukohderyhma_oid"/>
            <column ascending="true" name="hakukohde_oid"/>
         </index>
         <index name="873706c2e64d292c1eaa9c56cf86e0ea" unique="false">
            <column ascending="true" name="hakukohde_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_hakutoive" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakutoive_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hakukohde_henkilo_id" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_kunta_maakunta"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="henkilo_hakemus_id" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hakemus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_hakemus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="henkilo_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_arvosana_yo"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="hakutoivenumero" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="viimeinen_vastaanottopaiva" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="vastaanottotieto" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="valintatapajonot" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="valintatieto" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="ehdollisesti_hyvaksytty" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="harkinnanvaraisuuden_syy" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="haku_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="ilmoittautumisen_tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="ensikertalainen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="valintatiedon_pvm" nullable="true" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="osallistui_paasykokeeseen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="hakutoive_id" sequenceNumberInPK="1"/>
         <index name="pub_dim_hakutoive_hakutoive_id_pk" unique="true">
            <column ascending="true" name="hakutoive_id"/>
         </index>
         <index name="18104bc3cd13ab777453f9b4c308c143" unique="false">
            <column ascending="true" name="hakemus_oid"/>
         </index>
         <index name="20f9f4947f50a2a6b126464f69cce0a6" unique="false">
            <column ascending="true" name="henkilo_oid"/>
         </index>
         <index name="8f23761ef4601c28db97d50f8771cd14" unique="false">
            <column ascending="true" name="henkilo_hakemus_id"/>
         </index>
         <index name="b0a3a5e887858855ca236b524cfb1cfe" unique="false">
            <column ascending="true" name="hakukohde_oid"/>
         </index>
         <index name="e59c8bce7de0f636b0197d6ea1844323" unique="false">
            <column ascending="true" name="haku_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_hakutoive_toinen_aste" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakutoive_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hakemus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_hakemus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="sora_terveys" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="sora_aiempi" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="harkinnanvaraisuuden_syy" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="kaksoistutkinto_kiinnostaa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="urheilijatutkinto_kiinnostaa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="hakutoive_id" sequenceNumberInPK="1"/>
         <index name="pub_dim_hakutoive_toinen_aste_hakutoive_id_pk" unique="true">
            <column ascending="true" name="hakutoive_id"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_henkilo" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="henkilo_hakemus_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="henkilo_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_arvosana_yo"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="master_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hakemus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_hakemus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="etunimet" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="sukunimi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="lahiosoite" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="postinumero" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="postitoimipaikka" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="kotikunta" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="kotikunta_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="ulkomainen_kunta" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="asuinmaa" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="asuinmaa_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="sahkoposti" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="puhelin" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="pohjakoulutuksen_maa_toinen_aste" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="aidinkieli" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="aidinkieliluokka" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="sukupuoli" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="koulutusmarkkinointilupa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="valintatuloksen_julkaisulupa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="22" name="sahkoinenviestintalupa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="23" name="kansalaisuus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="24" name="kansalaisuus_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="25" name="kansalaisuusluokka" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="26" name="kansalaisuudet" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="27" name="kansalaisuudet_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="28" name="turvakielto" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="29" name="hetu" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="30" name="syntymaaika" nullable="true" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="31" name="hakemusmaksun_tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="henkilo_hakemus_id" sequenceNumberInPK="1"/>
         <index name="pub_dim_henkilo_henkilo_hakemus_id_pk" unique="true">
            <column ascending="true" name="henkilo_hakemus_id"/>
         </index>
         <index name="0d9ff6d92e25cb8e3aaea1cf8132965d" unique="false">
            <column ascending="true" name="henkilo_hakemus_id"/>
         </index>
         <index name="f2a6e1a9a898a048bec0ae3af95ea2ff" unique="false">
            <column ascending="true" name="henkilo_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_kontrolli_haku" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="haku_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="haku_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koulutuksen_alkamiskausi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="haun_tyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="haku_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_kontrolli_haku_haku_oid_pk" unique="true">
            <column ascending="true" name="haku_oid"/>
         </index>
         <index name="52be1e9dfdc2993e8e80405e586884ec" unique="false">
            <column ascending="true" name="koulutuksen_alkamiskausi"/>
         </index>
         <index name="7cc58f7121cf80621d97d69a636b1799" unique="false">
            <column ascending="true" name="haun_tyyppi"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_2asteenpohjakoulutus2021" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="6e826b47254022c2173343db38349fab" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_arvosana" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_arvosana_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="342d1c4d212de42b69779461e78f2739" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_hakukelpoisuusvaatimus" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_hakukelpoisuusvaatimus_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="854ca5f5c25b9ebd451eabfbbfa57c37" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_hakukohde" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_hakukohde_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="3f303c038f7f61d212bbbbfbc24c6ab0" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_hakutapa" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_hakutapa_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="cf8b25b1f2d03baad74f7d9f92683276" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_hakutyyppi" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_hakutyyppi_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="51ebf5afa7deb1b21bca263e2b06b2c1" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_haunkohdejoukko" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_haunkohdejoukko_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="731db503fd2f5fc49fcae00e31ffbafe" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_haunkohdejoukontarkenne" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="50ecab29cbec30624aeace3774363eb6" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_kausi" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_kausi_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="697a3232bcc09ccc3e194853119dc581" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_kieli" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_kieli_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="1e8656213511c77074e011f30ef908da" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_koulutus" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_koulutus_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="fa49c0a7791485ebd75491b1350f7e6e" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_koulutus_alat_ja_asteet" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="false" remarks="" size="2147483647" type="text" typeCode="12">
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_2asteenpohjakoulutus2021"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_arvosana"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_hakukelpoisuusvaatimus"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_hakukohde"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_hakutapa"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_hakutyyppi"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_haunkohdejoukko"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_haunkohdejoukontarkenne"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_kausi"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_kieli"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutusalataso1"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutusalataso2"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutusalataso3"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_kunta"/>
            <child catalog="lampi" column="kunta_versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_kunta_maakunta"/>
            <child catalog="lampi" column="maakunta_versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_kunta_maakunta"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_maa_2"/>
            <child catalog="lampi" column="maa_versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_maa_valtioryhma"/>
            <child catalog="lampi" column="valtioryhma_versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_maa_valtioryhma"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_maakunta"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_okmohjauksenala"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_opintojenlaajuus"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_opintojenlaajuusyksikko"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_oppilaitoksenopetuskieli"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_oppilaitostyyppi"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_organisaatiotyyppi"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_pohjakoulutuskk"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_pohjakoulutuskklomake"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_pohjakoulutustoinenaste"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_pohjakoulutusvaatimuskk"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_posti"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_sukupuoli"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_valintatapajono"/>
            <child catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_yokokeet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="kansallinenkoulutusluokitus2016koulutusastetaso1" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="kansallinenkoulutusluokitus2016koulutusastetaso1_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="kansallinenkoulutusluokitus2016koulutusastetaso2" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="kansallinenkoulutusluokitus2016koulutusastetaso2_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="kansallinenkoulutusluokitus2016koulutusalataso1" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="kansallinenkoulutusluokitus2016koulutusalataso1_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="kansallinenkoulutusluokitus2016koulutusalataso2" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="kansallinenkoulutusluokitus2016koulutusalataso2_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="kansallinenkoulutusluokitus2016koulutusalataso3" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="kansallinenkoulutusluokitus2016koulutusalataso3_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="alempi_kk_aste" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="ylempi_kk_aste" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="jatkotutkinto" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="laakis" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="okm_ohjauksen_ala" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <primaryKey column="versioitu_koodiuri" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_koulutus_alat_ja_asteet_versioitu_koodiuri_pk" unique="true">
            <column ascending="true" name="versioitu_koodiuri"/>
         </index>
         <index name="cc13fb83d15b36e5d7b0cb841894302a" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_koulutusalataso1" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="6b94a74ec3b1eb47fd9209f7ad97c178" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_koulutusalataso2" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="8bbad3436b71a76793919b98928469e6" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_koulutusalataso3" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="0be3f6c44c940f9cba1b5bd6f3ae9949" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_kunta" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_kunta_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="1fb7cd7e7c2ed3f4495e36611e402870" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_kunta_maakunta" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12">
            <child catalog="lampi" column="hakukohde_henkilo_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakutoive"/>
            <child catalog="lampi" column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_maa_valtioryhma"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="kunta_versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="kunta_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="kunta_koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="kunta_koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="maakunta_versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="maakunta_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="maakunta_koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="maakunta_koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="viimeisin_versio" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_kunta_maakunta_id_pk" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="1255d158d4571c0b87f033b23f34eb73" unique="false">
            <column ascending="true" name="kunta_koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_maa_2" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_maa_2_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="465a3e3b4daccbccf2ad48c5105f7604" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_maa_valtioryhma" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_kunta_maakunta"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="maa_versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="maa_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="maa_koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="maa_koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="valtioryhma_versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="valtioryhma_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="valtioryhma_koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="valtioryhma_koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <index name="c50e59a7bc09c4995aaa5a8c6f4bfa3c" unique="false">
            <column ascending="true" name="maa_koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_maakunta" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_maakunta_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="4581aec332535e2487e3352dece60ac5" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_okmohjauksenala" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="d80c2547004bac717ea69a8bfd45f469" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_opintojenlaajuus" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_opintojenlaajuus_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="ccda43d84b57214868cdb04d5895b4a3" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_opintojenlaajuusyksikko" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_opintojenlaajuusyksikko_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="0559acd83e5a1858b41205622dc089a7" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_oppilaitoksenopetuskieli" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="d1429bff40c2f2a2f5699297c7505eb4" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_oppilaitostyyppi" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_oppilaitostyyppi_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="9b79884dc5a3c325561bb71fc882144f" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_organisaatiotyyppi" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_organisaatiotyyppi_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="9daba9dbdb6dfa607979f8c17292a72e" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_pohjakoulutuskk" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_pohjakoulutuskk_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="72aa3850e9e883763ae1a0551d7b9003" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_pohjakoulutuskklomake" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_pohjakoulutuskklomake_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="72ee8529cc9c99fa252b329b598d67b4" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_pohjakoulutustoinenaste" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_pohjakoulutustoinenaste_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="e77c26d719e02ecbd31ab5b801c1ccd5" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_pohjakoulutusvaatimuskk" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_pohjakoulutusvaatimuskk_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="8029283aebc90759ed25ec1dc751c3e0" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_posti" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_posti_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="f5502980dadd7af2910e4aaa6dea9690" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_sukupuoli" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_sukupuoli_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="82c36073a5afb6e2f7d6101d745a5e1b" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_valintatapajono" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="koodiarvo" sequenceNumberInPK="1"/>
         <index name="pub_dim_koodisto_valintatapajono_koodiarvo_pk" unique="true">
            <column ascending="true" name="koodiarvo"/>
         </index>
         <index name="0b22a85f5a0c2961f66c5a16b3246c17" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koodisto_yokokeet" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="versioitu_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="versioitu_koodiuri" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koodisto_koulutus_alat_ja_asteet"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koodiarvo" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koodiversio" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koodinimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="nimi_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="nimi_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="nimi_en" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="voimassaalkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="voimassaloppupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="d80e54a4c3f3d87ceff93dd89899ff4e" unique="false">
            <column ascending="true" name="koodiarvo"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koulutus" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="koulutus_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12">
            <child catalog="lampi" column="koulutus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
            <child catalog="lampi" column="koulutus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_toteutus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koulutus_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ulkoinen_tunniste" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="organisaatio_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="koulutustyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="tarjoajat" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="kielivalinta" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="opintojenlaajuus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="laajuusyksikko_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="koulutus_koodit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="alempi_kk_aste" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="ylempi_kk_aste" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="koulutus_koodi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="okm_ohjauksen_ala" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="kansallinenkoulutusluokitus2016koulutusastetaso1" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="kansallinenkoulutusluokitus2016koulutusastetaso2" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="kansallinenkoulutusluokitus2016koulutusalataso1" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="kansallinenkoulutusluokitus2016koulutusalataso2" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="kansallinenkoulutusluokitus2016koulutusalataso3" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="jatkotutkinto" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="laakis" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="22" name="kk_tutkinnon_taso" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <primaryKey column="koulutus_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_koulutus_koulutus_oid_pk" unique="true">
            <column ascending="true" name="koulutus_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koulutustoimija" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="organisaatio_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organisaatio_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organisaatiotyypit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="oppilaitostyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="parent_oids" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="organisaatio_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_koulutustoimija_organisaatio_oid_pk" unique="true">
            <column ascending="true" name="organisaatio_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_koulutustoimija_ja_toimipisteet" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="organisaatio_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organisaatio_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organisaatiotyypit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="oppilaitostyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="parent_oids" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="children" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="organisaatio_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_koulutustoimija_ja_toimipisteet_organisaatio_oid_pk" unique="true">
            <column ascending="true" name="organisaatio_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_maksuvelvollisuus" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakutoive_id" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="maksuvelvollisuus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <index name="f3f7d45376dea5d1ac4c91f339d34c73" unique="false">
            <column ascending="true" name="hakutoive_id"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_oppilaitos" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="organisaatio_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organisaatio_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organisaatiotyypit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="oppilaitostyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="parent_oids" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="organisaatio_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_oppilaitos_organisaatio_oid_pk" unique="true">
            <column ascending="true" name="organisaatio_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_oppilaitos_ja_toimipisteet" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="organisaatio_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organisaatio_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organisaatiotyypit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="oppilaitostyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="parent_oids" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="children" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="organisaatio_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_oppilaitos_ja_toimipisteet_organisaatio_oid_pk" unique="true">
            <column ascending="true" name="organisaatio_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_organisaatio" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="organisaatio_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organisaatio_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="sijaintikunta" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="sijaintikunta_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="sijaintimaakunta" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="sijaintimaakunta_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="opetuskielet" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="organisaatiotyypit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="oppilaitostyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="oppilaitosnumero" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="alkupvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="12" name="lakkautuspvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="organisaatio_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_organisaatio_organisaatio_oid_pk" unique="true">
            <column ascending="true" name="organisaatio_oid"/>
         </index>
         <index name="e97140e684e22d25a2f05b7f115c161d" unique="false">
            <column ascending="true" name="organisaatiotyypit"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_organisaatio_rakenne" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="parent_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="child_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <index name="91e57aeae0b894eaf0ba85bd5299402a" unique="false">
            <column ascending="true" name="parent_oid"/>
         </index>
         <index name="a99ca717f571f4ab59e916b1de78ba08" unique="false">
            <column ascending="true" name="child_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_ovara_henkilo" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="oppija_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="master_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="hetu" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="sukupuoli" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="syntymaaika" nullable="true" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="sukunimi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="etunimet" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="aidinkieli" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="kansalaisuus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="turvakielto" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="kotikunta" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="kotikunta_fi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="kotikunta_sv" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="yksiloity" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="oppija_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_ovara_henkilo_oppija_oid_pk" unique="true">
            <column ascending="true" name="oppija_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_toimipiste" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="organisaatio_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organisaatio_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organisaatiotyypit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="oppilaitostyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="parent_oids" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="organisaatio_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_toimipiste_organisaatio_oid_pk" unique="true">
            <column ascending="true" name="organisaatio_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_toimipiste_ja_toimipisteet" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="organisaatio_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organisaatio_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organisaatiotyypit" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="oppilaitostyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="parent_oids" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="children" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="organisaatio_oid" sequenceNumberInPK="1"/>
         <index name="pub_dim_toimipiste_ja_toimipisteet_organisaatio_oid_pk" unique="true">
            <column ascending="true" name="organisaatio_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_toteutus" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="toteutus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="toteutus_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="ulkoinen_tunniste" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="organisaatio_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="koulutus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="koulutus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_koulutus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="koulutuksen_alkamiskausi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="oppilaitoksen_opetuskieli" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="suunniteltukestovuodet" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="suunniteltukestokuukaudet" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="koulutuksen_alkamiskausi_tyyppi" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="koulutuksen_alkamiskausi_koodiuri" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="koulutuksen_alkamisvuosi" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="henkilokohtaisen_suunnitelman_lisatiedot" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <index name="8c73cafaaba6f6f48d8d2655bf0587be" unique="false">
            <column ascending="true" name="koulutus_oid"/>
         </index>
         <index name="c253689279c70bb148cbc90ec206b124" unique="false">
            <column ascending="true" name="organisaatio_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_valinnantulos" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakemus_hakukohde_valintatapa_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hakutoive_id" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="valintatapajono_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="hakemus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_hakemus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="henkilo_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_arvosana_yo"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="valinnan_tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="ehdollisesti_hyvaksyttavissa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="ehdollisen_hyvaksymisen_ehto" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="valinnantilan_kuvauksen_teksti" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="julkaistavissa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="hyvaksyperuuntunut" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="valintatiedon_pvm" nullable="true" remarks="" size="13" type="date" typeCode="91"/>
         <primaryKey column="hakemus_hakukohde_valintatapa_id" sequenceNumberInPK="1"/>
         <index name="pub_dim_valinnantulos_hakemus_hakukohde_valintatapa_id_pk" unique="true">
            <column ascending="true" name="hakemus_hakukohde_valintatapa_id"/>
         </index>
         <index name="036e738567888a491bb405b4a64a581b" unique="false">
            <column ascending="true" name="hakukohde_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_dim_yo_arvosana" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="resourceid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="suoritus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="arvosana" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="asteikko" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="aine" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="lisatieto" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="valinnainen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="muokattu" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="deleted" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="pisteet" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="10" name="myonnetty" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="source" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="jarjestys" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="arvot" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="henkilooid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="16" name="pvm" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <index name="3fbfacff9aa257a32e66e3cd732ab951" unique="false">
            <column ascending="true" name="resourceid"/>
         </index>
         <index name="cfd051233f6bc31043ac8b40099b46cd" unique="false">
            <column ascending="true" name="henkilooid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_fct_hakemus" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakemus_oid" nullable="false" remarks="" size="2147483647" type="text" typeCode="12">
            <child catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakutoive"/>
            <child catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakutoive_toinen_aste"/>
            <child catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_henkilo"/>
            <child catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_valinnantulos"/>
            <child catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_raportti_hakijat_toinen_aste"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="haku_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="henkilo_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_arvosana_yo"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="pohjakoulutuksen_maa_toinen_aste" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="pohjakoulutus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="pohjakoulutus_kk" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <primaryKey column="hakemus_oid" sequenceNumberInPK="1"/>
         <index name="pub_fct_hakemus_hakemus_oid_pk" unique="true">
            <column ascending="true" name="hakemus_oid"/>
         </index>
         <index name="006fd782dcdff3fe2366011fb5631aa8" unique="false">
            <column ascending="true" name="hakemus_oid"/>
         </index>
         <index name="1dff14ce6a85f9ebe4908b06d518d554" unique="false">
            <column ascending="true" name="henkilo_oid"/>
         </index>
         <index name="f24825cca33a2a4e86cd9e492bed6b8c" unique="false">
            <column ascending="true" name="haku_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_fct_raportti_hakijat_kk" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakutoive_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="henkilo_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_arvosana_yo"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="hakukelpoisuus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="pohjakoulutus" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="maksuvelvollisuus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="hakutoive_id" sequenceNumberInPK="1"/>
         <index name="pub_fct_raportti_hakijat_kk_hakutoive_id_pk" unique="true">
            <column ascending="true" name="hakutoive_id"/>
         </index>
         <index name="b90ef6a5e92c38833a8547bd4b633fe4" unique="false">
            <column ascending="true" name="henkilo_oid"/>
         </index>
         <index name="d506f68bbbe58e5303f15de8d0b3f9a5" unique="false">
            <column ascending="true" name="hakutoive_id"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_fct_raportti_hakijat_toinen_aste" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakutoive_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hakemus_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakemus_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_fct_hakemus"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="sora_terveys" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="sora_aiempi" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="harkinnanvaraisuuden_syy" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="tila" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="kaksoistutkinto_kiinnostaa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="urheilijatutkinto_kiinnostaa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="pohjakoulutus" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="pohjakoulutus_nimi" nullable="true" remarks="" size="2147483647" type="jsonb" typeCode="1111"/>
         <primaryKey column="hakutoive_id" sequenceNumberInPK="1"/>
         <index name="pub_fct_raportti_hakijat_toinen_aste_hakutoive_id_pk" unique="true">
            <column ascending="true" name="hakutoive_id"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_fct_raportti_tilastoraportti_2aste_hakutoive" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakutoive_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="henkilo_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_arvosana_yo"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koulutusalataso_1" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="koulutusalataso_2" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="koulutusalataso_3" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="harkinnanvaraisuuden_syy" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="sukupuoli" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="ensisijainen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="varasija" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="hyvaksytty" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="vastaanottanut" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="lasna" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="poissa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="ilmoittautunut" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="toive_1" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="toive_2" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="toive_3" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="toive_4" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="toive_5" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="toive_6" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="toive_7" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="hakutoive_id" sequenceNumberInPK="1"/>
         <index name="pk_690791c5c060958634b94140819e7af1" unique="true">
            <column ascending="true" name="hakutoive_id"/>
         </index>
         <index name="07c3a206158462d904528ee257d71ac6" unique="false">
            <column ascending="true" name="hakukohde_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_fct_raportti_tilastoraportti_kk" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="aidinkieli" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="kansalaisuusluokka" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="sukupuoli" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="kansalaisuus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="ensikertalainen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="hakijat" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="ensisijaisia" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="ensikertalaisia" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="hyvaksytyt" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="vastaanottaneet" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="lasna" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="poissa" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="ilm_yht" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="maksuvelvollisia" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="toive_1" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="toive_2" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="toive_3" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="toive_4" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="toive_5" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="toive_6" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <index name="9c43e04a49865d3e9b6b1d13e1824fa2" unique="false">
            <column ascending="true" name="hakukohde_oid"/>
         </index>
         <index name="uk_bfc58c2ff5744476fd0429e7acb490fc" unique="true">
            <column ascending="true" name="hakukohde_oid"/>
            <column ascending="true" name="aidinkieli"/>
            <column ascending="true" name="kansalaisuus"/>
            <column ascending="true" name="sukupuoli"/>
            <column ascending="true" name="ensikertalainen"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_fct_raportti_tilastoraportti_kk_hakutoive" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakutoive_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="henkilo_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="henkilo_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_arvosana_yo"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="aidinkieli" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="kansalaisuusluokka" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="sukupuoli" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="kansalaisuus" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="ensikertalainen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="ensisijainen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="hyvaksytty" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="vastaanottanut" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="lasna" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="poissa" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="ilmoittautunut" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="maksuvelvollinen" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="toive_1" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="toive_2" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="toive_3" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="toive_4" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="toive_5" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="toive_6" nullable="true" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="hakutoive_id" sequenceNumberInPK="1"/>
         <index name="pub_fct_raportti_tilastoraportti_kk_hakutoive_hakutoive_id_pk" unique="true">
            <column ascending="true" name="hakutoive_id"/>
         </index>
         <index name="b7fc3dd1856d22860aba28c359a343f2" unique="false">
            <column ascending="true" name="hakukohde_oid"/>
         </index>
         <index name="idx_hakutoive_henkilo_vastaanottanut" unique="false">
            <column ascending="true" name="henkilo_oid"/>
            <column ascending="true" name="hakukohde_oid"/>
         </index>
      </table>
      <table catalog="lampi" name="pub_fct_raportti_tilastoraportti_toinen_aste" remarks="" schema="ovara_pub" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="hakukohde_oid" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent catalog="lampi" column="hakukohde_oid" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" schema="ovara_pub" table="pub_dim_hakukohde"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="koulutusalataso_1" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="koulutusalataso_2" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="koulutusalataso_3" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="harkinnanvaraisuuden_syy" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="sukupuoli" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="hakijat" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="ensisijaisia" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="varasija" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="hyvaksytyt" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="vastaanottaneet" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="lasna" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="poissa" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="ilm_yht" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="toive_1" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="toive_2" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="toive_3" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="toive_4" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="toive_5" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="toive_6" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="toive_7" nullable="true" remarks="" size="19" type="int8" typeCode="-5"/>
         <index name="2c7dd67717f963f0df8fc68ceb5338e1" unique="false">
            <column ascending="true" name="hakukohde_oid"/>
         </index>
         <index name="uk_83cd9748d5b1f8624f967f1b410377c1" unique="true">
            <column ascending="true" name="hakukohde_oid"/>
            <column ascending="true" name="koulutusalataso_1"/>
            <column ascending="true" name="koulutusalataso_2"/>
            <column ascending="true" name="koulutusalataso_3"/>
            <column ascending="true" name="harkinnanvaraisuuden_syy"/>
            <column ascending="true" name="sukupuoli"/>
         </index>
      </table>
   </tables>
</database>
