retrospring/db/migrate/20221115194933_add_privacy_hide_social_graph.rb
Andreas Nedbal fe9a77cd67 Fix lints
2022-11-18 23:19:24 +01:00

11 lines
260 B
Ruby

# frozen_string_literal: true
class AddPrivacyHideSocialGraph < ActiveRecord::Migration[6.1]
def up
add_column :users, :privacy_hide_social_graph, :boolean, default: false
end
def down
remove_column :users, :privacy_hide_social_graph
end
end