Contract-Signer/db/migrate/20111104074505_change_boilerplate_limits.rb

12 lines
381 B
Ruby
Raw Normal View History

2011-11-04 07:46:08 +00:00
class ChangeBoilerplateLimits < ActiveRecord::Migration
def self.up
change_column :contracts, :boilerplate, :text, :limit => nil
change_column :contract_templates, :boilerplate, :text, :limit => nil
end
def self.down
change_column :contracts, :boilerplate, :text, :limit => 255
change_column :contract_templates, :boilerplate, :text, :limit => 255
end
end