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.
10 lines
207 B
Ruby
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
|