Files
redmine_contracts/db/migrate/009_remove_payment_terms_from_contracts.rb
Eric Davis a2b810a4d8 [#4410] Replace Payment Terms with an Enumeration
Instead of using a hard coded value for Payment Terms, they will use
Redmine's Enumeration table.  This provides an admin gui to managing
the value as well as ordering them.
2010-08-12 09:26:09 -07:00

10 lines
207 B
Ruby

class RemovePaymentTermsFromContracts < ActiveRecord::Migration
def self.up
remove_column :contracts, :payment_terms
end
def self.down
add_column :contracts, :payment_terms, :string
end
end