Sha256: 0d8ac46f4d581b4ff3a02810f806dffad4f2d100fd2b3a2b87349edf992b93c4

Contents?: true

Size: 323 Bytes

Versions: 6

Compression:

Stored size: 323 Bytes

Contents

class CreateVulnerabilityReferences < ActiveRecord::Migration
  def self.up
    create_table :vulnerability_references do |t|
      t.string :name
      t.string :link
      t.string :source
      t.integer :nvd_entry_id

      t.timestamps
    end
  end

  def self.down
    drop_table :vulnerability_references
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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