retrospring/db/migrate/20221106130744_add_inbox_locked_to_users.rb
2022-11-06 15:23:05 +01:00

11 lines
242 B
Ruby

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