Class: Docsmith::VersionTag

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/docsmith/version_tag.rb

Overview

Named label on a DocumentVersion. Tag names are unique per document (not per version) — enforced at DB level via the unique index on [document_id, name] in docsmith_version_tags. document_id is denormalized on this table to enable that DB-level constraint.