##// END OF EJS Templates
Make sure existing custom fields visibility is set to true....
Jean-Philippe Lang -
r4269:f8ca6e58aa88
parent child
Show More
@@ -1,6 +1,7
1 1 class AddCustomFieldsVisible < ActiveRecord::Migration
2 2 def self.up
3 3 add_column :custom_fields, :visible, :boolean, :null => false, :default => true
4 CustomField.update_all("visible = #{CustomField.connection.quoted_true}")
4 5 end
5 6
6 7 def self.down
General Comments 0
You need to be logged in to leave comments. Login now