Closed onozaty closed 3 years ago
Doesn't work with Rails 4?
007_change_path_pattern_default_on_view_customizes.rb
class ChangePathPatternDefaultOnViewCustomizes < ActiveRecord::CompatibleLegacyMigration.migration_class
def change
change_column_default :view_customizes, :path_pattern, from: nil, to: ""
change_column_default :view_customizes, :comments, from: nil, to: ""
change_column_null :view_customizes, :comments, false, ""
end
end
Fixed at v2.8.1
There are strange characters in the path pattern and comments.