Append-only authoring history for emailTemplateTable. Every save
inserts a row; nothing is ever mutated or deleted, so the table is the
complete history. UPDATE and DELETE are rejected unconditionally by the
shared b2b.prevent_version_modifications() trigger — no never-been-live
exemption is needed, because saves never mutate.
Live and draft version numbers are not adjacent: a variant can sit at
live v3 · draft v7 when v4–v6 were saves that were never activated. Rollback
repoints liveVersionId at an earlier row; it does not renumber and does not
remove the versions in between, so a version number identifies one piece of
copy for the life of the table.
No externalId — only the identity row is externally addressable.
Append-only authoring history for emailTemplateTable. Every save inserts a row; nothing is ever mutated or deleted, so the table is the complete history.
UPDATEandDELETEare rejected unconditionally by the sharedb2b.prevent_version_modifications()trigger — no never-been-live exemption is needed, because saves never mutate.Live and draft version numbers are not adjacent: a variant can sit at
live v3 · draft v7when v4–v6 were saves that were never activated. Rollback repointsliveVersionIdat an earlier row; it does not renumber and does not remove the versions in between, so a version number identifies one piece of copy for the life of the table.No
externalId— only the identity row is externally addressable.