diff --git a/db/migrate/20111109122603_remove_net_bank_and_auto_payment.rb b/db/migrate/20111109122603_remove_net_bank_and_auto_payment.rb new file mode 100644 index 0000000..eacf958 --- /dev/null +++ b/db/migrate/20111109122603_remove_net_bank_and_auto_payment.rb @@ -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