chore: Allow super admin to suspend an account (#5174)
This commit is contained in:
6
db/migrate/20220802133722_add_status_to_accounts.rb
Normal file
6
db/migrate/20220802133722_add_status_to_accounts.rb
Normal 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
|
||||
Reference in New Issue
Block a user