create table alarm_handle_statistics ( id serial not null, time timestamp not null, project_correlation_id int, day1 float, day3 float, day7 float, day15 float, day30 float, day30m float ); create unique index alarm_handle_statistics_id_uindex on alarm_handle_statistics (id); alter table alarm_handle_statistics add constraint alarm_handle_statistics_pk primary key (id);