From 33eda4098c379da686d775a05434b56149e503c6 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 27 Oct 2019 13:38:28 -0500 Subject: add `force_private` boolean to account model in preparation for adding more types of moderation polices --- db/migrate/20191014164340_add_force_private_to_accounts.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 db/migrate/20191014164340_add_force_private_to_accounts.rb (limited to 'db/migrate') 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 -- cgit