class CreateSwitchPortConfigurations < ActiveRecord::Migration[6.0]
  def change
    create_table :switch_port_configurations do |t|
      t.integer :port_number
      t.string :name
      t.boolean :port_status
      t.string :link_negotiation
      t.integer :speed
      t.integer :power
      t.boolean :poe
      t.integer :vlan
      t.boolean :port_isolation
      t.integer :switch_configuration_id

      t.timestamps
    end
  end
end
