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