1 |
dpavlin |
1.1 |
drop table gantt; |
2 |
|
|
|
3 |
|
|
create table gantt ( |
4 |
|
|
start datetime default now(), |
5 |
|
|
finish datetime default now(), |
6 |
dpavlin |
1.2 |
sessionid varchar(20) not null, |
7 |
dpavlin |
1.1 |
type varchar(80) not null, |
8 |
|
|
status varchar(80) not null, |
9 |
|
|
user_group_host varchar(80) not null, |
10 |
dpavlin |
1.2 |
specification varchar(80) not null, |
11 |
|
|
primary key (sessionid,type,status) |
12 |
dpavlin |
1.1 |
); |
13 |
|
|
|
14 |
|
|
create index ind_sessionid on gantt ( sessionid ); |
15 |
|
|
create index ind_type on gantt ( type ); |
16 |
|
|
create index ind_status on gantt ( status ); |
17 |
|
|
create index ind_user on gantt ( user_group_host ); |
18 |
|
|
create index ind_specification on gantt ( specification ); |
19 |
|
|
|