##// END OF EJS Templates
Updates copyright for 2016....
Updates copyright for 2016. git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@15241 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3126:8db9ecef08ee
r14859:7c266707dcea 2.6-stable
Show More
20091225164732_remove_enumerations_opt.rb
12 lines | 442 B | text/x-ruby | RubyLexer
/ db / migrate / 20091225164732_remove_enumerations_opt.rb
class RemoveEnumerationsOpt < ActiveRecord::Migration
def self.up
remove_column :enumerations, :opt
end
def self.down
add_column :enumerations, :opt, :string, :limit => 4, :default => '', :null => false
Enumeration.update_all("opt = 'IPRI'", "type = 'IssuePriority'")
Enumeration.update_all("opt = 'DCAT'", "type = 'DocumentCategory'")
Enumeration.update_all("opt = 'ACTI'", "type = 'TimeEntryActivity'")
end
end