2022-11-13 05:40:34 -08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-11-13 05:25:03 -08:00
|
|
|
class AddPrivacyRequireUserToUsers < ActiveRecord::Migration[6.1]
|
|
|
|
def up
|
|
|
|
add_column :users, :privacy_require_user, :boolean, default: false
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :users, :privacy_require_user
|
|
|
|
end
|
|
|
|
end
|