Class: CreateCvsses
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateCvsses
- Defined in:
- lib/db/migrate/20101122153216_create_cvsses.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
16 17 18 |
# File 'lib/db/migrate/20101122153216_create_cvsses.rb', line 16 def self.down drop_table :cvsses end |
.up ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/db/migrate/20101122153216_create_cvsses.rb', line 2 def self.up create_table :cvsses do |t| t.float :score t.string :source t.datetime :generated_on t.string :access_vector t.string :access_complexity t.string :authentication t.integer :nvd_entry_id t. end end |