Sha256: 8d28009e9141c1a8cedac3348ffe35746a95f165b64c1dd07c3addce0187538e

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

Sequel.migration do
  change do
    alter_table(:oids) do
      add_column :active, Integer, limit: 1, null: false, default: 1, index: true
      add_column :measurement_name, String, null: false, default: 'snmp'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telemetry-snmp-0.3.0 lib/telemetry/snmp/data/migrations/012_add_measurement_prefix.rb