zhaobing
1 year ago
2 changed files with 18 additions and 0 deletions
@ -0,0 +1,2 @@ |
|||
ALTER TABLE public."user" |
|||
ADD COLUMN isadmin boolean; |
@ -0,0 +1,16 @@ |
|||
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 '上报时间'; |
Loading…
Reference in new issue