class CreateUplinks < ActiveRecord::Migration[6.0]
  def change
    create_table :uplinks do |t|
      t.integer :router_inventory_id
      t.string :wl_association
      t.boolean :wds_enabled, :default => false
      t.string :wl_wpa_key
      t.string :wl_band
      t.string :wl_ssid_name
      t.integer :wl_ssid_uniqe_id
      t.string :mo_service
      t.string :mo_apn
      t.string :mo_device
      t.string :mo_username
      t.string :mo_password
      t.string :ip_type
      t.string :ip
      t.string :subnet_mask
      t.string :gateway
      t.string :uplink_type, :default => "1"
      t.string :primary_dns
      t.string :secondary_dns

      t.timestamps
    end
  end
end
