Sha256: 04cbdf576de9c49168f93bab6ac9e9c634861ed1771328711a5ec802c15ca34e

Contents?: true

Size: 225 Bytes

Versions: 3

Compression:

Stored size: 225 Bytes

Contents

class ChangeForumDescriptionToString < ActiveRecord::Migration
  def up
    change_column :formol_forums, :description, :string, :limit => 128
  end

  def down
    change_column :formol_forums, :description, :text
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 db/migrate/20120106192951_change_forum_description_to_string.rb
formol-0.0.5 db/migrate/20120106192951_change_forum_description_to_string.rb
formol-0.0.4 db/migrate/20120106192951_change_forum_description_to_string.rb