foodsoft/db/migrate/20181201000200_add_deleted_...

9 lines
221 B
Ruby

class AddDeletedToFinancialTransactionType < ActiveRecord::Migration[4.2]
def change
change_table :financial_transactions do |t|
t.integer :reverts_id
t.index :reverts_id, unique: true
end
end
end