Chatwoot/db/migrate/20220802133722_add_status_to_accounts.rb

6 lines
169 B
Ruby

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