Sha256: 74c2be29d93719711c4a50070564ecd4b2194295f5fb40c9beed98f217d14436

Contents?: true

Size: 500 Bytes

Versions: 4

Compression:

Stored size: 500 Bytes

Contents

# -*- coding: utf-8 -*-

module Dcmgr::Models
  # History record table for ArchiveChangedColumn plugin
  class History < BaseNew
    set_dataset(:histories)
    
    inheritable_schema do
      String :uuid, :size=>50, :null=>false
      String :attr, :null=>false
      String :vchar_value, :null=>true
      String :blob_value, :null=>true, :text=>true
      Time  :created_at, :null=>false
      index [:uuid, :created_at]
      index [:uuid, :attr]
    end

    plugin :timestamps
    
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
wakame-vdc-agents-11.06.0 lib/dcmgr/models/history.rb
wakame-vdc-dcmgr-11.06.0 lib/dcmgr/models/history.rb
wakame-vdc-dcmgr-10.12.0 lib/dcmgr/models/history.rb
wakame-vdc-agents-10.12.0 lib/dcmgr/models/history.rb