14 lines
335 B
Ruby
14 lines
335 B
Ruby
|
class CreateCisaKnownExploits < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :cisa_known_exploits do |t|
|
||
|
t.string :title
|
||
|
t.string :catalog_version
|
||
|
t.date :date_released
|
||
|
t.index :date_released, unique: true
|
||
|
t.integer :count
|
||
|
t.jsonb :vulnerabilities
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|