create table versions ( guid uuid not null, organization , application , version text not null, original , service , audit ); comment on table versions is ' Represents a unique version of the application. '; comment on column versions.guid is ' Internal unique identifier for this version. '; comment on column versions.version is ' The tag for this version. Can be anything, but if semver style version number is used, we automatically correctly sort by version number to find latest. Otherwise latest version is considered to be the most recently created. '; comment on column versions.original is ' The original uploaded file describing this version, if available '; comment on column versions.service is ' spec/spec.json description of this API ';