-- description: add {,committer_}date_offset_bytes to rev/rel + raw_manifest to dir/rev/rel, part 1
insertintodbversion(version,release,description)
values(179,now(),'Work In Progress');
-- step 1: add columns, update functions
altertablerelease
addcolumndate_offset_bytesbytea,
addcolumnraw_manifestbytea;
commentoncolumnrelease.date_offset_bytesis'Raw git representation of the timezone, as an offset from UTC. It should follow this format: ``+HHMM`` or ``-HHMM``';
commentoncolumnrelease.raw_manifestis'git manifest of the object, if it cannot be represented using only the other fields';
altertablerevision
addcolumndate_offset_bytesbytea,
addcolumncommitter_date_offset_bytesbytea,
addcolumnraw_manifestbytea;
commentoncolumnrevision.date_offset_bytesis'Raw git representation of the timezone, as an offset from UTC. It should follow this format: ``+HHMM`` or ``-HHMM``';
commentoncolumnrevision.committer_date_offset_bytesis'Raw git representation of the timezone, as an offset from UTC. It should follow this format: ``+HHMM`` or ``-HHMM``';
commentoncolumnrevision.raw_manifestis'git manifest of the object, if it cannot be represented using only the other fields';
dropfunctionswh_revision_log;
dropfunctionswh_revision_list_by_object_id;
dropfunctionswh_revision_add;
droptyperevision_entry;
createtyperevision_entryas
(
idsha1_git,
datetimestamptz,
date_offsetsmallint,
date_neg_utc_offsetboolean,
date_offset_bytesbytea,
committer_datetimestamptz,
committer_date_offsetsmallint,
committer_date_neg_utc_offsetboolean,
committer_date_offset_bytesbytea,
typerevision_type,
directorysha1_git,
messagebytea,
author_idbigint,
author_fullnamebytea,
author_namebytea,
author_emailbytea,
committer_idbigint,
committer_fullnamebytea,
committer_namebytea,
committer_emailbytea,
metadatajsonb,
syntheticboolean,
parentsbytea[],
object_idbigint,
extra_headersbytea[][],
raw_manifestbytea
);
altertabledirectory
addcolumnraw_manifestbytea;
commentoncolumndirectory.raw_manifestis'git manifest of the object, if it cannot be represented using only the other fields';