cirandas.net

ref: master

db/migrate/20110228174632_change_certifier_description_to_text.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
class ChangeCertifierDescriptionToText < ActiveRecord::Migration
  def self.up
    change_table :certifiers do |t|
      t.change :description, :text, :limit => nil
    end
  end

  def self.down
    change_table :certifiers do |t|
      t.change :description, :string
    end
  end
end