Skip to content

Commit

Permalink
Removed net bank and autopayment fields from ledgers table
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikola Trandafilovic committed Nov 11, 2011
1 parent 58869ed commit 248b044
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions db/migrate/20111109122603_remove_net_bank_and_auto_payment.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class RemoveNetBankAndAutoPayment < ActiveRecord::Migration
def self.up
remove_column :ledgers, :net_bank
remove_column :ledgers, :auto_payment
end

def self.down
add_column :ledgers, :auto_payment , :boolean
add_column :ledgers, :net_bank , :boolean
end
end

0 comments on commit 248b044

Please sign in to comment.