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

12 lines
381 B
Ruby

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