create table car_images ( id serial constraint car_images_pk primary key, url varchar, time timestamptz ); comment on column car_images.url is '图片路径'; comment on column car_images.time is '时间'; create unique index car_images_id_uindex on car_images (id);