Sha256: eda1aba00731f4ed07cae71770c7ef7838e38ccf3c4f7089525e255c56f2b62c
Contents?: true
Size: 764 Bytes
Versions: 51
Compression:
Stored size: 764 Bytes
Contents
# This migration comes from erp_tech_svcs (originally 20121116155018) 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
51 entries across 51 versions & 17 rubygems