diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-10-27 13:38:28 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-10-27 13:38:28 -0500 |
commit | 33eda4098c379da686d775a05434b56149e503c6 (patch) | |
tree | ca08b44d9b4ce1dd917e8ae386e7869047c9060e /db | |
parent | 58c707c474b4ebe6653ebe38aade9cbebe777926 (diff) |
add `force_private` boolean to account model in preparation for adding more types of moderation polices
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20191014164340_add_force_private_to_accounts.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20191014164340_add_force_private_to_accounts.rb b/db/migrate/20191014164340_add_force_private_to_accounts.rb new file mode 100644 index 000000000..4201b6481 --- /dev/null +++ b/db/migrate/20191014164340_add_force_private_to_accounts.rb @@ -0,0 +1,7 @@ +class AddForcePrivateToAccounts < ActiveRecord::Migration[5.2] + def change + safety_assured { + add_column :accounts, :force_private, :boolean, null: false, default: false + } + end +end |