2013-09-18 06:13:49 +00:00
|
|
|
create table batch_file_assoc (
|
|
|
|
job_file_id integer not null,
|
|
|
|
batch_id integer not null
|
|
|
|
) engine=InnoDB;
|
|
|
|
|
|
|
|
alter table batch_file_assoc
|
|
|
|
add unique(job_file_id, batch_id);
|
2013-09-18 06:14:57 +00:00
|
|
|
|
|
|
|
alter table workunit
|
|
|
|
add index wu_batch(batch);
|