政务数据资源中心(Government data Resource center) 03专项3期主要建设内容
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.
 
 
 
 

38 lines
1.0 KiB

create table fire_alarm
(
id serial
constraint fire_alarm_pk
primary key,
"createTime" timestamp(6) with time zone,
location text,
scene varchar(255),
fire_material varchar(255),
level varchar(255),
state integer default 1,
longitude varchar(50),
latitude varchar(50),
type varchar(50),
type_param varchar(50)
);
comment on table fire_alarm is '智慧消防大屏 告警上报表';
comment on column fire_alarm."createTime" is '创建时间';
comment on column fire_alarm.location is '地点';
comment on column fire_alarm.scene is '场所';
comment on column fire_alarm.fire_material is '燃烧物质';
comment on column fire_alarm.level is '危险等级';
comment on column fire_alarm.state is '事件状态:1 进行中 2已结束';
comment on column fire_alarm.type is '警情类型';
comment on column fire_alarm.type_param is '警情类型对应的不同属性 ';
create unique index fire_alarm_id_uindex
on fire_alarm (id);