data_importer/db/migrate/20220427043126_create_cisa_known_exploits.rb

13 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