##// END OF EJS Templates
Don't create duplicate wikis in test (#15420)....
Don't create duplicate wikis in test (#15420). Patch by George Gensure. git-svn-id: http://svn.redmine.org/redmine/trunk@12317 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10691:abd921736b6d
r12086:8a1f26617d23
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