1 |
|
drop table certifikati; /* RA: */ |
2 |
create table certifikati ( |
create table certifikati ( |
3 |
sif_edukacije int4 not null, |
sif_edukacije int4 not null, |
4 |
sif_radnika varchar(7) not null, |
sif_radnika varchar(7) not null, |
11 |
xxxx text |
xxxx text |
12 |
); |
); |
13 |
|
|
14 |
|
drop table edukacije; /* RA: */ |
15 |
create table edukacije ( |
create table edukacije ( |
16 |
sifra int4 not null, |
sifra int4 not null, |
17 |
sif_radnika varchar(7) not null, |
sif_radnika varchar(7) not null, |
34 |
titula text |
titula text |
35 |
); |
); |
36 |
|
|
37 |
|
drop table izvan_plive; /* RA: */ |
38 |
create table izvan_plive ( |
create table izvan_plive ( |
39 |
sif_radnika varchar(7) not null, |
sif_radnika varchar(7) not null, |
40 |
tvrtka text, |
tvrtka text, |
46 |
date_lupdate date default 'now' |
date_lupdate date default 'now' |
47 |
); |
); |
48 |
|
|
49 |
|
drop table nagrade; /* RA: */ |
50 |
create table nagrade ( |
create table nagrade ( |
51 |
sif_radnika varchar(7) not null, |
sif_radnika varchar(7) not null, |
52 |
naziv text not null, |
naziv text not null, |
58 |
date_lupdate date default 'now' |
date_lupdate date default 'now' |
59 |
); |
); |
60 |
|
|
61 |
|
drop table o_meni; /* RA: */ |
62 |
create table o_meni ( |
create table o_meni ( |
63 |
sif_radnika varchar(7) not null, |
sif_radnika varchar(7) not null, |
64 |
opis text, |
opis text, |
66 |
); |
); |
67 |
|
|
68 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
69 |
|
drop table obrazovna_ustanova; /* RA: */ |
70 |
create table obrazovna_ustanova ( |
create table obrazovna_ustanova ( |
71 |
sifra int4 not null, |
sifra int4 not null, |
72 |
naziv text not null, |
naziv text not null, |
76 |
); |
); |
77 |
|
|
78 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
79 |
|
drop table org_jed; /* RA: */ |
80 |
create table org_jed ( |
create table org_jed ( |
81 |
sifra text not null, |
sifra text not null, |
82 |
opis text, |
opis text, |
84 |
); |
); |
85 |
|
|
86 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
87 |
|
drop table osoba; /* RA: */ |
88 |
create table osoba ( |
create table osoba ( |
89 |
sif_radnika varchar(7) not null, |
sif_radnika varchar(7) not null, |
90 |
ime varchar(100) not null, |
ime varchar(100) not null, |
103 |
language varchar(2) not null default 'HR' /* RA: */ |
language varchar(2) not null default 'HR' /* RA: */ |
104 |
); |
); |
105 |
|
|
106 |
|
drop table qualification; /* RA: */ |
107 |
create table qualification ( |
create table qualification ( |
108 |
sifra int4 not null, |
sifra int4 not null, |
109 |
opis text |
opis text |
110 |
); |
); |
111 |
|
|
112 |
|
drop table radovi; /* RA: */ |
113 |
create table radovi ( |
create table radovi ( |
114 |
rbr int4 not null, |
rbr int4 not null, |
115 |
sif_str_skupa int4, |
sif_str_skupa int4, |
122 |
); |
); |
123 |
|
|
124 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
125 |
|
drop table stupanj_str_jezika; /* RA: */ |
126 |
create table stupanj_str_jezika ( |
create table stupanj_str_jezika ( |
127 |
sifra int4 not null, |
sifra int4 not null, |
128 |
stupanj text, |
stupanj text, |
131 |
); |
); |
132 |
|
|
133 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
134 |
|
drop table strani_jezik; /* RA: */ |
135 |
create table strani_jezik ( |
create table strani_jezik ( |
136 |
sifra int4 not null, |
sifra int4 not null, |
137 |
opis text, |
opis text, |
140 |
); |
); |
141 |
|
|
142 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
143 |
|
drop table strucne_spreme; /* RA: */ |
144 |
create table strucne_spreme ( |
create table strucne_spreme ( |
145 |
stupanj text not null, |
stupanj text not null, |
146 |
sif_vrsta_str_spreme int4, |
sif_vrsta_str_spreme int4, |
149 |
language varchar(2) not null default 'HR' /* RA: */ |
language varchar(2) not null default 'HR' /* RA: */ |
150 |
); |
); |
151 |
|
|
152 |
|
drop table strucni_skupovi; /* RA: */ |
153 |
create table strucni_skupovi ( |
create table strucni_skupovi ( |
154 |
rbr int4 not null, |
rbr int4 not null, |
155 |
naziv text, |
naziv text, |
161 |
); |
); |
162 |
|
|
163 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
164 |
|
drop table tecajevi; /* RA: */ |
165 |
create table tecajevi ( |
create table tecajevi ( |
166 |
sifra int4 not null, |
sifra int4 not null, |
167 |
naziv text not null, |
naziv text not null, |
170 |
language varchar(2) not null default 'HR' /* RA: */ |
language varchar(2) not null default 'HR' /* RA: */ |
171 |
); |
); |
172 |
|
|
173 |
|
drop table u_plivi; /* RA: */ |
174 |
create table u_plivi ( |
create table u_plivi ( |
175 |
sif_radnika varchar(7) not null, |
sif_radnika varchar(7) not null, |
176 |
radno_mjesto text, |
radno_mjesto text, |
182 |
); |
); |
183 |
|
|
184 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
185 |
|
drop table ustanove; /* RA: */ |
186 |
create table ustanove ( |
create table ustanove ( |
187 |
sifra int4 not null, |
sifra int4 not null, |
188 |
naziv varchar(250) not null, |
naziv varchar(250) not null, |
193 |
); |
); |
194 |
|
|
195 |
/* MULTILINGUAL */ |
/* MULTILINGUAL */ |
196 |
|
drop table vrsta_strucne_spreme; /* RA: */ |
197 |
create table vrsta_strucne_spreme ( |
create table vrsta_strucne_spreme ( |
198 |
sifra int4 not null, |
sifra int4 not null, |
199 |
opis text, |
opis text, |