Sha256: 5922883ef41ce1d860c3ce0e3348381241cbb944fffc713716bce19209f01d9b

Contents?: true

Size: 516 Bytes

Versions: 3

Compression:

Stored size: 516 Bytes

Contents

Sequel.migration do
  change do
    create_table(:device_creds) do
      primary_key :id
      Integer :port, null: false, default: 161
      String :username, null: false, default: 'paf-tig'
      String :auth_password
      String :auth_protocol, null: false, default: 'sha'
      String :priv_password
      String :priv_protocol, null: false, default: 'aes'
      String :security_level, null: false, default: 'auth_priv'

      DateTime :created
      DateTime :updated

      index :username
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telemetry-snmp-0.3.0 lib/telemetry/snmp/data/migrations/001_device_creds.rb
telemetry-snmp-0.2.0 lib/telemetry/snmp/data/migrations/001_device_creds.rb
telemetry-snmp-0.1.0 lib/telemetry/snmp/data/migrations/001_device_creds.rb