lib/dcmgr/models/history.rb in wakame-vdc-agents-11.06.0 vs lib/dcmgr/models/history.rb in wakame-vdc-agents-11.12.0
- old
+ new
@@ -1,20 +1,9 @@
# -*- 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