/[BackupPC]/trunk/sql/02d_archive.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

Contents of /trunk/sql/02d_archive.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 180 - (show annotations)
Tue Oct 11 19:31:51 2005 UTC (18 years, 6 months ago) by dpavlin
File size: 424 byte(s)
create archive_backup also

1 create table archive (
2 id serial,
3 dvd_nr int not null,
4 total_size bigint default -1,
5 note text,
6 username varchar(20) not null,
7 date timestamp default now(),
8 primary key(id)
9 );
10
11 create table archive_backup
12 (
13 archive_id int not null references archive(id) on delete cascade,
14 backup_id int not null references backups(id),
15 primary key(archive_id, backup_id)
16 );

  ViewVC Help
Powered by ViewVC 1.1.26