The GDPR is open for interpretation, and it isn't clear whether showing users recommended proposals and debates while browsing the site is considered a notification that needs to be explicitly accepted. Since we aren't sure whether this is necessary, we're taking the safe approach and disabling recommendations by default.
9 lines
271 B
Ruby
9 lines
271 B
Ruby
class RemoveDefaultValueInUserRecommendations < ActiveRecord::Migration[7.1]
|
|
def change
|
|
change_table :users do |t|
|
|
t.change_default :recommended_debates, from: true, to: nil
|
|
t.change_default :recommended_proposals, from: true, to: nil
|
|
end
|
|
end
|
|
end
|