Retrospring/db/migrate/20221106130744_add_inbox_lo...

12 lines
242 B
Ruby
Raw Normal View History

2022-11-06 06:23:05 -08:00
# frozen_string_literal: true
2022-11-06 05:59:56 -08:00
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