/[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.5 by dpavlin, Tue May 1 16:43:24 2001 UTC revision 1.9 by ravilov, Fri Jun 15 09:39:04 2001 UTC
# Line 43  create table izvan_plive ( Line 43  create table izvan_plive (
43          datum_do date,          datum_do date,
44          id int4,          id int4,
45          date_lupdate date default 'now',          date_lupdate date default 'now',
46          primary key(sif_radnika)          primary key(sif_radnika,id)
47          );          );
48    
49  create table nagrade (  create table nagrade (
# Line 55  create table nagrade ( Line 55  create table nagrade (
55          godina text,          godina text,
56          id int4,          id int4,
57          date_lupdate date default 'now',          date_lupdate date default 'now',
58          primary key(sif_radnika)          primary key(sif_radnika,id)
59          );          );
60    
61  create table o_meni (  create table o_meni (
# Line 80  create table org_jed ( Line 80  create table org_jed (
80          sifra text not null,          sifra text not null,
81          opis text,          opis text,
82          language varchar(2) not null default 'HR',      /* RA: */          language varchar(2) not null default 'HR',      /* RA: */
83          primary key(sifra)          primary key (sifra, language)
84          );          );
85    
86  /* MULTILINGUAL */  /* MULTILINGUAL */
# Line 199  create table vrsta_strucne_spreme ( Line 199  create table vrsta_strucne_spreme (
199          language varchar(2) not null default 'HR',      /* RA: */          language varchar(2) not null default 'HR',      /* RA: */
200          primary key (sifra)          primary key (sifra)
201          );          );
202    
203    create table patenti (
204            sifra int4 not null,
205            sif_radnika varchar(7) not null,
206            autori varchar(100) not null,
207            naziv varchar(60) not null,
208            godina varchar(4),
209            zastita varchar(50),
210            na_snazi boolean,
211            drzave varchar(100),
212            komentar text
213            );

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.26