Retrospring/db/migrate/20221116201723_add_privacy_...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
238 B
Ruby
Raw Normal View History

2022-11-16 13:31:49 -08:00
# frozen_string_literal: true
class AddPrivacyNoindexToUser < ActiveRecord::Migration[6.1]
def up
add_column :users, :privacy_noindex, :boolean, default: false
end
def down
remove_column :users, :privacy_noindex
end
end