CREATE TABLE term ( uuid uuid primary key not null default uuid_generate_v4(), internal_name text not null, version integer not null default 1, text text, valid_from timestamp with time zone, valid_until timestamp with time zone )