Class: DestroyVulnerableConfigurations

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/db/migrate/20110118131643_destroy_vulnerable_configurations.rb

Class Method Summary collapse

Class Method Details

.downObject



6
7
8
9
10
11
12
# File 'lib/db/migrate/20110118131643_destroy_vulnerable_configurations.rb', line 6

def self.down
  create_table :vulnerable_configurations do |t|
    t.integer :nvd_entry_id
    t.integer :product_id
    t.timestamps
  end
end

.upObject



2
3
4
# File 'lib/db/migrate/20110118131643_destroy_vulnerable_configurations.rb', line 2

def self.up
  drop_table :vulnerable_configurations
end