class UseTextDatatypeForTitleAndEntryId < ActiveRecord::Migration
  def up
    change_column :stories, :title, :text
    change_column :stories, :entry_id, :text
  end

  def self.down
    change_column :stories, :title, :string
    change_column :stories, :entry_id, :string
  end
end

Use text datatype for title and entry_id
Use text datatype for title and entry_id
