##// 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 class AddCustomFieldsVisible < ActiveRecord::Migration
1 class AddCustomFieldsVisible < ActiveRecord::Migration
2 def self.up
2 def self.up
3 add_column :custom_fields, :visible, :boolean, :null => false, :default => true
3 add_column :custom_fields, :visible, :boolean, :null => false, :default => true
4 CustomField.update_all("visible = #{CustomField.connection.quoted_true}")
4 end
5 end
5
6
6 def self.down
7 def self.down
General Comments 0
You need to be logged in to leave comments. Login now