svn path=/trunk/boinc/; revision=13852

This commit is contained in:
David Anderson 2007-10-16 17:15:57 +00:00
parent ad2fe67886
commit 1c6277a3d2
3 changed files with 46 additions and 0 deletions

View File

@ -9526,6 +9526,9 @@ David 16 Oct 2007
it should go in a different repository, it should go in a different repository,
but for now I'm putting it here. but for now I'm putting it here.
db/
bossa_constraints.sql
bossa_schema.sql
html/ html/
inc/ inc/
bossa_db.inc bossa_db.inc

6
db/bossa_constraints.sql Normal file
View File

@ -0,0 +1,6 @@
alter table bossa_app
add unique(name);
alter table bossa_job
add unique(name)
add index bj_more_needed(more_needed);

37
db/bossa_schema.sql Normal file
View File

@ -0,0 +1,37 @@
create table bossa_app (
id integer not null auto_increment,
create_time integer not null,
name varchar(255) not null,
user_friendly_name varchar(255) not null,
long_jobs tinyint not null,
start_url varchar(255) not null,
finish_url varchar(255) not null,
deprecated tinyint not null,
beta tinyint not null,
primary key(id)
);
create table bossa_job (
id integer not null auto_increment,
create_time integer not null,
name varchar(255) not null,
app_id integer not null,
info varchar(255) not null,
batch integer not null,
time_estimate integer not null,
time_limit integer not null,
more_needed tinyint not null,
npending smallint not null,
nsuccess smallint not null,
nsuccess_needed smallint not null,
primary key(id)
);
create table bossa_job_inst (
id integer not null auto_increment,
create_time integer not null,
job_id integer not null,
user_id integer not null,
finish_time integer not null,
primary key(id)
);