class CreateInfrastructureVoltageTypes < ActiveRecord::Migration[5.2]
  def change
    create_table :infrastructure_voltage_types do |t|
      t.string :name
      t.boolean :active
    end

    add_reference :infrastructure_components, :infrastructure_voltage_type
  end
end

class CreateInfrastructureVoltageTypes < ActiveRecord::Migration[5.2]
  def change
    create_table :infrastructure_voltage_types do |t|
      t.string :name
      t.boolean :active
    end

    add_reference :transit_components, :infrastructure_voltage_type
  end
end

Fix transit components reference in db migration.
Fix transit components reference in db migration.
