6 lines
184 B
Ruby
6 lines
184 B
Ruby
class MakeContractTemplatesFeesValid < ActiveRecord::DataMigration
|
|
def up
|
|
ContractTemplate.where("fee_cents < 0 or fee_cents > 9999999999").update_all("fee_cents = 0")
|
|
end
|
|
end
|