class AddExploitableRightsToTalentRelease < ActiveRecord::Migration[6.0]
  def change
    add_reference :talent_releases, :applicable_medium, foreign_key: true
    add_column :talent_releases, :applicable_medium_text, :string
    add_reference :talent_releases, :territory, foreign_key: true
    add_column :talent_releases, :territory_text, :string
    add_reference :talent_releases, :term, foreign_key: true
    add_column :talent_releases, :term_text, :string
    add_reference :talent_releases, :restriction, foreign_key: true
    add_column :talent_releases, :restriction_text, :string
  end
end
