From e80aed27b3109537b2c0dee35c3764028083e294 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 27 Oct 2019 13:45:21 -0500 Subject: add `unboostable` boolean to account model in preparation for adding more types of moderation polices + allowing authors to make unboostable posts irrespective of scope --- db/migrate/20191014164349_add_unboostable_to_accounts.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 db/migrate/20191014164349_add_unboostable_to_accounts.rb (limited to 'db/migrate') diff --git a/db/migrate/20191014164349_add_unboostable_to_accounts.rb b/db/migrate/20191014164349_add_unboostable_to_accounts.rb new file mode 100644 index 000000000..16d91d5a3 --- /dev/null +++ b/db/migrate/20191014164349_add_unboostable_to_accounts.rb @@ -0,0 +1,7 @@ +class AddUnboostableToAccounts < ActiveRecord::Migration[5.2] + def change + safety_assured { + add_column :accounts, :unboostable, :boolean, null: false, default: false + } + end +end -- cgit