/[hr-web]/inc/shema.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /inc/shema.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dpavlin, Sat Apr 21 14:14:54 2001 UTC revision 1.3 by dpavlin, Wed Apr 25 13:18:50 2001 UTC
# Line 1  Line 1 
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,
# Line 10  create table certifikati ( Line 11  create table certifikati (
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,
# Line 32  create table edukacije ( Line 34  create table edukacije (
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,
# Line 43  create table izvan_plive ( Line 46  create table izvan_plive (
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,
# Line 54  create table nagrade ( Line 58  create table nagrade (
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,
# Line 61  create table o_meni ( Line 66  create table o_meni (
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,
# Line 70  create table obrazovna_ustanova ( Line 76  create table obrazovna_ustanova (
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,
# Line 77  create table org_jed ( Line 84  create table org_jed (
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,
# Line 95  create table osoba ( Line 103  create table osoba (
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,
# Line 112  create table radovi ( Line 122  create table radovi (
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,
# Line 120  create table stupanj_str_jezika ( Line 131  create table stupanj_str_jezika (
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,
# Line 128  create table strani_jezik ( Line 140  create table strani_jezik (
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,
# Line 136  create table strucne_spreme ( Line 149  create table strucne_spreme (
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,
# Line 147  create table strucni_skupovi ( Line 161  create table strucni_skupovi (
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,
# Line 155  create table tecajevi ( Line 170  create table tecajevi (
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,
# Line 166  create table u_plivi ( Line 182  create table u_plivi (
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,
# Line 176  create table ustanove ( Line 193  create table ustanove (
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,

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.26