mirror of https://github.com/BOINC/boinc.git
22 lines
342 B
MySQL
22 lines
342 B
MySQL
|
use boinc;
|
||
|
|
||
|
alter table platform
|
||
|
add unique(name);
|
||
|
|
||
|
alter table app
|
||
|
add unique(name);
|
||
|
|
||
|
alter table app_version
|
||
|
add unique(appid, platformid, version_num);
|
||
|
|
||
|
alter table user
|
||
|
add unique(email_addr);
|
||
|
|
||
|
alter table workunit
|
||
|
add unique(name);
|
||
|
|
||
|
alter table result
|
||
|
add unique(name);
|
||
|
|
||
|
create index ind_res_st on result(state);
|