Adding an additional sessions mapping to workspaces.
git-svn-id: file:///home/svn/framework3/trunk@12327 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
b536d25b38
commit
f386a2c587
|
@ -19,6 +19,7 @@ class Workspace < ActiveRecord::Base
|
|||
has_many :creds, :dependent => :destroy
|
||||
has_many :imported_creds, :dependent => :destroy
|
||||
has_many :exploited_hosts, :through => :hosts
|
||||
has_many :sessions, :through => :hosts
|
||||
|
||||
|
||||
validates_uniqueness_of :name
|
||||
|
|
Loading…
Reference in New Issue