module PlaceOS::Model::Utilities::Versions
Overview
Adds version history to a PlaceOS::Model
Direct including types
Defined in:
placeos-models/utilities/versions.crConstant Summary
-
MAX_VERSIONS =
(ENV["PLACE_MAX_VERSIONS"]?.try(&.to_i?) || 20)
-
Number of version models to retain
Instance Method Summary
-
#create_version(version : self) : self
Make relevant updates to version before it is saved
Instance Method Detail
Make relevant updates to version before it is saved