class CreateVpnConfigs < ActiveRecord::Migration[6.0]
  def self.up
    create_table :vpn_configs do |t|
      t.string :name
      t.string :ike_time
      t.string :l_subnet
      t.string :remote_ip
      t.string :remote_nw_ip
      t.string :remote_nw_subnet
      t.string :pre_shared_key
      t.string :ike
      t.string :esp
      t.string :is_enabled
      t.integer :location_network_id

      t.timestamps
    end
  end
  def self.down
    drop_table :vpn_configs 
  end
end
