Sha256: 50ca6aad53a8a83a6a1f3eae82e01aaeaa2010cf43842549e5278371f23acb6d

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

Sequel.migration do
  change do
    create_table(:oids_oid_groups) do
      primary_key :id
      String :name, null: false, unique: true
      TrueClass :active, null: false, default: 1
      foreign_key :oid_id, :oids, null: true
      foreign_key :oid_group_id, :oid_groups, null: true

      DateTime :created
      DateTime :updated

      index :name
      index :active
    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/005_create_oids_oid_groups.rb
telemetry-snmp-0.2.0 lib/telemetry/snmp/data/migrations/005_create_oids_oid_groups.rb
telemetry-snmp-0.1.0 lib/telemetry/snmp/data/migrations/005_create_oids_oid_groups.rb