chore: Allow super admin to suspend an account (#5174)

This commit is contained in:
Pranav Raj S
2022-08-03 11:40:03 +05:30
committed by GitHub
parent 4152883f38
commit e0cebfaa1a
20 changed files with 259 additions and 23 deletions

View File

@@ -0,0 +1,6 @@
class AddStatusToAccounts < ActiveRecord::Migration[6.1]
def change
add_column :accounts, :status, :integer, default: 0
add_index :accounts, :status
end
end