foodsoft/db/migrate/20171201000000_add_name_sho...

7 lines
221 B
Ruby

class AddNameShortToFinancialTransactionType < ActiveRecord::Migration[4.2]
def change
add_column :financial_transaction_types, :name_short, :string
add_index :financial_transaction_types, :name_short
end
end