Sha256: b9f7cdc0f476a283d424494f546b5910b1bea5cf5e10d697a943e635752470fa
Contents?: true
Size: 261 Bytes
Versions: 10
Compression:
Stored size: 261 Bytes
Contents
class ChangeCommentToTextField < ActiveRecord::Migration def self.up remove_column "comments", "comment" add_column "comments", "comment", :text end def self.down change_column "comments", "comment", :string, :default => "" end end
Version data entries
10 entries across 10 versions & 1 rubygems