Sha256: ae4eebf604d9fb77cb2614159aa6d5b2f2f4d3cf62837124861a6208746246f7
Contents?: true
Size: 694 Bytes
Versions: 12
Compression:
Stored size: 694 Bytes
Contents
class CreateGroupRelationshipAndRoleTypes def self.up #insert data here to_role = RoleType.create(:description => 'Security Group', :internal_identifier => 'group') from_role = RoleType.create(:description => 'Security Group Member', :internal_identifier => 'group_member') RelationshipType.create(:description => 'Security Group Membership', :name => 'Group Membership', :internal_identifier => 'group_membership', :valid_from_role => from_role, :valid_to_role => to_role ) end def self.down #remove data here end end
Version data entries
12 entries across 12 versions & 1 rubygems