1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||
|
create table if not exists camera_status_offline_log |
||||
|
( |
||||
|
id serial not null, |
||||
|
camera_id integer not null, |
||||
|
status varchar(32) not null, |
||||
|
time timestamp not null, |
||||
|
constraint camera_status_offline_log_pk |
||||
|
primary key (id) |
||||
|
); |
||||
|
|
||||
|
create unique index if not exists camera_status_offline_log_id_uindex |
||||
|
on camera_status_offline_log (id); |
||||
|
|
Loading…
Reference in new issue