##// END OF EJS Templates
Updated CHANGELOG for 2.4.4 and 2.5.0....
Updated CHANGELOG for 2.4.4 and 2.5.0. git-svn-id: http://svn.redmine.org/redmine/trunk@12948 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10691:abd921736b6d
r12673:8a2413f3b718
Show More
019_add_issue_status_position.rb
10 lines | 304 B | text/x-ruby | RubyLexer
/ db / migrate / 019_add_issue_status_position.rb
Jean-Philippe Lang
added the ability to set the sort order for issue statuses...
r202 class AddIssueStatusPosition < ActiveRecord::Migration
def self.up
Jean-Philippe Lang
Removed 'not null' constraint on position fields....
r851 add_column :issue_statuses, :position, :integer, :default => 1
Jean-Philippe Lang
Replaces find(:all) calls....
r10691 IssueStatus.all.each_with_index {|status, i| status.update_attribute(:position, i+1)}
Jean-Philippe Lang
added the ability to set the sort order for issue statuses...
r202 end
def self.down
remove_column :issue_statuses, :position
end
end