--- inc/shema.sql 2001/04/21 14:14:54 1.2 +++ inc/shema.sql 2001/04/25 13:18:50 1.3 @@ -1,3 +1,4 @@ +drop table certifikati; /* RA: */ create table certifikati ( sif_edukacije int4 not null, sif_radnika varchar(7) not null, @@ -10,6 +11,7 @@ xxxx text ); +drop table edukacije; /* RA: */ create table edukacije ( sifra int4 not null, sif_radnika varchar(7) not null, @@ -32,6 +34,7 @@ titula text ); +drop table izvan_plive; /* RA: */ create table izvan_plive ( sif_radnika varchar(7) not null, tvrtka text, @@ -43,6 +46,7 @@ date_lupdate date default 'now' ); +drop table nagrade; /* RA: */ create table nagrade ( sif_radnika varchar(7) not null, naziv text not null, @@ -54,6 +58,7 @@ date_lupdate date default 'now' ); +drop table o_meni; /* RA: */ create table o_meni ( sif_radnika varchar(7) not null, opis text, @@ -61,6 +66,7 @@ ); /* MULTILINGUAL */ +drop table obrazovna_ustanova; /* RA: */ create table obrazovna_ustanova ( sifra int4 not null, naziv text not null, @@ -70,6 +76,7 @@ ); /* MULTILINGUAL */ +drop table org_jed; /* RA: */ create table org_jed ( sifra text not null, opis text, @@ -77,6 +84,7 @@ ); /* MULTILINGUAL */ +drop table osoba; /* RA: */ create table osoba ( sif_radnika varchar(7) not null, ime varchar(100) not null, @@ -95,11 +103,13 @@ language varchar(2) not null default 'HR' /* RA: */ ); +drop table qualification; /* RA: */ create table qualification ( sifra int4 not null, opis text ); +drop table radovi; /* RA: */ create table radovi ( rbr int4 not null, sif_str_skupa int4, @@ -112,6 +122,7 @@ ); /* MULTILINGUAL */ +drop table stupanj_str_jezika; /* RA: */ create table stupanj_str_jezika ( sifra int4 not null, stupanj text, @@ -120,6 +131,7 @@ ); /* MULTILINGUAL */ +drop table strani_jezik; /* RA: */ create table strani_jezik ( sifra int4 not null, opis text, @@ -128,6 +140,7 @@ ); /* MULTILINGUAL */ +drop table strucne_spreme; /* RA: */ create table strucne_spreme ( stupanj text not null, sif_vrsta_str_spreme int4, @@ -136,6 +149,7 @@ language varchar(2) not null default 'HR' /* RA: */ ); +drop table strucni_skupovi; /* RA: */ create table strucni_skupovi ( rbr int4 not null, naziv text, @@ -147,6 +161,7 @@ ); /* MULTILINGUAL */ +drop table tecajevi; /* RA: */ create table tecajevi ( sifra int4 not null, naziv text not null, @@ -155,6 +170,7 @@ language varchar(2) not null default 'HR' /* RA: */ ); +drop table u_plivi; /* RA: */ create table u_plivi ( sif_radnika varchar(7) not null, radno_mjesto text, @@ -166,6 +182,7 @@ ); /* MULTILINGUAL */ +drop table ustanove; /* RA: */ create table ustanove ( sifra int4 not null, naziv varchar(250) not null, @@ -176,6 +193,7 @@ ); /* MULTILINGUAL */ +drop table vrsta_strucne_spreme; /* RA: */ create table vrsta_strucne_spreme ( sifra int4 not null, opis text,