create table segments ( id uuid not null, name text, description text, polyline text not null, created_by uuid not null, hidden boolean not null ); comment on table segments is ' A segment of road which will be rated and tagged '; comment on column segments.created_by is ' The user who created the segment '; comment on column segments.hidden is ' Whether a segment is user visible or not ';