Sha256: 082a17e3416840e504c86fdae79b8aa4cfe17ca01c6f00833ecd2a76f025da55
Contents?: true
Size: 753 Bytes
Versions: 51
Compression:
Stored size: 753 Bytes
Contents
# This migration comes from erp_tech_svcs (originally 20110109173616) class CreateCapabilityScopeTypes def self.up CapabilityType.create(:internal_identifier => 'download', :description => 'Download') if CapabilityType.where("internal_identifier = 'download'").first.nil? ScopeType.create(:description => 'Instance', :internal_identifier => 'instance') if ScopeType.where("internal_identifier = 'instance'").first.nil? ScopeType.create(:description => 'Class', :internal_identifier => 'class') if ScopeType.where("internal_identifier = 'class'").first.nil? ScopeType.create(:description => 'Query', :internal_identifier => 'query') if ScopeType.where("internal_identifier = 'query'").first.nil? end def self.down end end
Version data entries
51 entries across 51 versions & 17 rubygems