2022-04-26 23:56:35 -05:00
|
|
|
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
|
2022-04-28 13:38:05 -05:00
|
|
|
t.jsonb :vulnerabilities, array: true
|
2022-04-26 23:56:35 -05:00
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|