summaryrefslogtreecommitdiffstats
path: root/db/migrate/20101107130441_add_custom_fields_visible.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20101107130441_add_custom_fields_visible.rb')
-rw-r--r--db/migrate/20101107130441_add_custom_fields_visible.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20101107130441_add_custom_fields_visible.rb b/db/migrate/20101107130441_add_custom_fields_visible.rb
index 9d59faee5..d3edb145f 100644
--- a/db/migrate/20101107130441_add_custom_fields_visible.rb
+++ b/db/migrate/20101107130441_add_custom_fields_visible.rb
@@ -1,4 +1,4 @@
-class AddCustomFieldsVisible < ActiveRecord::Migration
+class AddCustomFieldsVisible < ActiveRecord::Migration[4.2]
def self.up
add_column :custom_fields, :visible, :boolean, :null => false, :default => true
CustomField.update_all("visible = #{CustomField.connection.quoted_true}")