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.
16 lines
746 B
16 lines
746 B
create table public.task_manage(
|
|
id SERIAL PRIMARY KEY ,
|
|
roadId integer not null references public.road(id),
|
|
danger_description char(300),
|
|
issuance_time timestamp,
|
|
userId integer NOT NULL references public.user(id),
|
|
isdanger boolean,
|
|
report_time timestamp
|
|
);
|
|
comment on column public.task_manage.id is 'id';
|
|
comment on column public.task_manage.roadId is '道路id';
|
|
comment on column public.task_manage.danger_description is '隐患说明';
|
|
comment on column public.task_manage.issuance_time is '下发时间';
|
|
comment on column public.task_manage.userId is '用户id';
|
|
comment on column public.task_manage.isdanger is '是否存在安全隐患,flase(不存在)';
|
|
comment on column public.task_manage.report_time is '上报时间';
|