Chatwoot/db/migrate/20220802133722_add_status_to_accounts.rb

7 lines
169 B
Ruby
Raw Normal View History

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