alter table segment
    add version bigint  default 1 not null;