lib/dcmgr/models/hostname_lease.rb in wakame-vdc-agents-11.06.0 vs lib/dcmgr/models/hostname_lease.rb in wakame-vdc-agents-11.12.0
- old
+ new
@@ -1,15 +1,7 @@
# -*- coding: utf-8 -*-
module Dcmgr::Models
# hostname table for each instance to ensure uniqueness.
class HostnameLease < BaseNew
-
- inheritable_schema do
- String :account_id, :null=>false, :size=>50
- String :hostname, :null=>false, :size=>32
-
- index [:account_id, :hostname], {:unique=>true}
- end
- with_timestamps
end
end