summaryrefslogtreecommitdiffstats
path: root/db/migrate/019_add_issue_status_position.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/019_add_issue_status_position.rb')
-rw-r--r--db/migrate/019_add_issue_status_position.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/019_add_issue_status_position.rb b/db/migrate/019_add_issue_status_position.rb
index 012f97c22..1536bdd0a 100644
--- a/db/migrate/019_add_issue_status_position.rb
+++ b/db/migrate/019_add_issue_status_position.rb
@@ -1,4 +1,4 @@
-class AddIssueStatusPosition < ActiveRecord::Migration
+class AddIssueStatusPosition < ActiveRecord::Migration[4.2]
def self.up
add_column :issue_statuses, :position, :integer, :default => 1
IssueStatus.all.each_with_index {|status, i| status.update_attribute(:position, i+1)}