You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
391 B
23 lines
391 B
2 years ago
|
|
||
|
|
||
|
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);
|
||
|
|