Sha256: d8d5a5bfdfc7ed4d98acc09fee95ddfc5ec81e545fa42dd4520384298b96dfb8

Contents?: true

Size: 429 Bytes

Versions: 6

Compression:

Stored size: 429 Bytes

Contents

class ChangeImpactsStructure < ActiveRecord::Migration
  def self.up
    add_column :cvsses, :availability_impact_id, :integer
    add_column :cvsses, :confidentiality_impact_id, :integer
    add_column :cvsses, :integrity_impact_id, :integer
  end

  def self.down
    remove_column :cvsses, :availability_impact_id
    remove_column :cvsses, :confidentiality_impact_id
    remove_column :cvsses, :integrity_impact_id
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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