class ChangePlaylistIdInSoundTreks < ActiveRecord::Migration[5.0]
  def change
    rename_column :sound_treks, :playlist_id, :playlist
    change_column :sound_treks, :playlist, :string
  end
end

Add migration to change playlist_id column in sound_treks table
Add migration to change playlist_id column in sound_treks table
