binary_jobid binary(16) not null,
prefix_id binary(1) not null,
- primary key (binary_jobid),
- index (binary_jobid)
+ primary key (binary_jobid)
) engine=innodb;
create table zombie_prefixes (
prefix_id binary(1) not null,
prefix varchar(255) binary not null,
- primary key (prefix_id),
+ primary key (prefix_id)
) engine=innodb;
mysql -u lbserver $DB_NAME -e "ALTER TABLE jobs ADD proxy bool not null"
mysql -u lbserver $DB_NAME -e "ALTER TABLE jobs ADD server bool not null"
mysql -u lbserver $DB_NAME -e "ALTER TABLE jobs ADD grey bool not null"
-mysql -u lbserver $DB_NAME -e "ALTER TABLE jobs ADD zombie bool not null"
mysql -u lbserver $DB_NAME -e "ALTER TABLE jobs ADD nevents int not null"
mysql -u lbserver $DB_NAME -e "ALTER TABLE notif_registrations ADD JDL_VirtualOrganisation varchar(200) null" && \
mysql -u lbserver $DB_NAME -e "ALTER TABLE notif_registrations ADD index(JDL_VirtualOrganisation)"
+
+
+# zombie jobs
+mysql -u lbserver $DB_NAME -e "\
+\
+create table zombie_jobs (\
+ binary_jobid binary(16) not null,\
+ prefix_id binary(1) not null,\
+\
+ primary key (binary_jobid)\
+) engine=innodb"
+
+mysql -u lbserver $DB_NAME -e "\
+\
+create table zombie_prefixes (\
+ prefix_id binary(1) not null,\
+ prefix varchar(255) binary not null,\
+\
+ primary key (prefix_id)\
+) engine=innodb"
+