gab-social/db/migrate/20210218235403_add_spam_flag_to_accounts.rb
Developer 2a8ca2cd56 Added new spam_flag to Accounts, replacing is_flagged_as_spam
• Added:
- new spam_flag to Accounts, replacing is_flagged_as_spam
- null/0: no spam, 1: spam, 2: safe from spam

• Updated:
- Comment, Status to reflect changes

• Todo:
- Fully remove is_flagged_as_spam
- Update SortingQueryBuilder
2021-02-18 23:46:53 -05:00

6 lines
140 B
Ruby

class AddSpamFlagToAccounts < ActiveRecord::Migration[6.0]
def change
add_column :accounts, :spam_flag, :integer, null: true
end
end