Sha256: 66b095ea9bf0f659b873b99325263d10a3683b21cbebe0b8671b23e93411e0cb

Contents?: true

Size: 374 Bytes

Versions: 6

Compression:

Stored size: 374 Bytes

Contents

class CreateVulnerableSoftwares < ActiveRecord::Migration
  def self.up
    create_table :vulnerable_softwares do |t|
      t.integer :nvd_entry_id
      t.integer :product_id

      t.timestamps
    end
    add_index :vulnerable_softwares, :nvd_entry_id
    add_index :vulnerable_softwares, :product_id
  end

  def self.down
    drop_table :vulnerable_softwares
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fidius-cvedb-0.0.8 lib/db/migrate/20101122175021_create_vulnerable_softwares.rb
fidius-cvedb-0.0.7 lib/db/migrate/20101122175021_create_vulnerable_softwares.rb
fidius-cvedb-0.0.6 lib/db/migrate/20101122175021_create_vulnerable_softwares.rb
fidius-cvedb-0.0.5 lib/db/migrate/20101122175021_create_vulnerable_softwares.rb
fidius-cvedb-0.0.3 lib/db/migrate/20101122175021_create_vulnerable_softwares.rb
fidius-cvedb-0.0.2 lib/db/migrate/20101122175021_create_vulnerable_softwares.rb