class AddGuardiansFieldsToMaterialReleases < ActiveRecord::Migration[6.0]
  def change
    add_column :material_releases, :minor, :boolean, default: false
    add_column :material_releases, :guardian_first_name, :string
    add_column :material_releases, :guardian_last_name, :string
    add_column :material_releases, :guardian_email, :string
    add_column :material_releases, :guardian_phone, :string
    add_column :material_releases, :guardian_address_street1, :string
    add_column :material_releases, :guardian_address_street2, :string
    add_column :material_releases, :guardian_address_city, :string
    add_column :material_releases, :guardian_address_state, :string
    add_column :material_releases, :guardian_address_zip, :string
    add_column :material_releases, :guardian_address_country, :string
    add_column :material_releases, :guardian_2_first_name, :string
    add_column :material_releases, :guardian_2_last_name, :string
    add_column :material_releases, :guardian_2_email, :string
    add_column :material_releases, :guardian_2_phone, :string
    add_column :material_releases, :guardian_2_address_street1, :string
    add_column :material_releases, :guardian_2_address_street2, :string
    add_column :material_releases, :guardian_2_address_city, :string
    add_column :material_releases, :guardian_2_address_state, :string
    add_column :material_releases, :guardian_2_address_zip, :string
    add_column :material_releases, :guardian_2_address_country, :string
  end
end