feat: Ability to block contacts permanently (#8922)

Co-authored-by: Pranav <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose
2024-02-22 03:48:42 +05:30
committed by GitHub
parent c031cb19d2
commit ae4c8d818f
10 changed files with 63 additions and 28 deletions

View File

@@ -0,0 +1,6 @@
class AddBlockedToContacts < ActiveRecord::Migration[7.0]
def change
add_column :contacts, :blocked, :boolean, default: false, null: false
add_index :contacts, :blocked
end
end