lib/unimatrix/archivist/blueprint_attribute.rb in unimatrix-2.9.0 vs lib/unimatrix/archivist/blueprint_attribute.rb in unimatrix-3.0.0
- old
+ new
@@ -1,33 +1,33 @@
module Unimatrix::Archivist
class BlueprintAttribute < Unimatrix::Resource
- field :id
+ field :id
field :uuid
field :realm_uuid
+ field :type_name
field :blueprint_uuid
field :name
field :readable
field :writable
field :type
+ field :allow_nil
field :validates_uniqueness
field :validates_uniqueness_scope
field :validates_presence
field :validates_absence
field :validates_format_with
field :validates_format_without
field :validates_length_minimum
field :validates_length_maximum
field :validates_in
field :validates_not_in
- field :validates_numeric
- field :validates_numeric_integer
field :validates_numeric_minimum
field :validates_numeric_maximum
- field :validates_type
field :created_at
field :updated_at
+ field :destroyed_at
has_many :errors
end
end