summaryrefslogtreecommitdiffstats
path: root/db/migrate/20160416072926_remove_position_defaults.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160416072926_remove_position_defaults.rb')
-rw-r--r--db/migrate/20160416072926_remove_position_defaults.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160416072926_remove_position_defaults.rb b/db/migrate/20160416072926_remove_position_defaults.rb
index ab3af1499..9ba7b3c8e 100644
--- a/db/migrate/20160416072926_remove_position_defaults.rb
+++ b/db/migrate/20160416072926_remove_position_defaults.rb
@@ -1,4 +1,4 @@
-class RemovePositionDefaults < ActiveRecord::Migration
+class RemovePositionDefaults < ActiveRecord::Migration[4.2]
def up
[Board, CustomField, Enumeration, IssueStatus, Role, Tracker].each do |klass|
change_column klass.table_name, :position, :integer, :default => nil