class InfosHash < ActiveRecord::Migration[4.2] def up add_column :referer_trackings, :infos_session, :text add_column :referer_trackings, :infos_request, :text end def down remove_column :referer_trackings, :infos_session remove_column :referer_trackings, :infos_request end end