data_importer/db/migrate/20220407083218_create_cvemon_cves.rb

13 lines
265 B
Ruby
Raw Normal View History

2022-04-19 02:37:27 -05:00
# frozen_string_literal: true
2022-04-07 04:32:08 -05:00
class CreateCvemonCves < ActiveRecord::Migration[7.0]
def change
create_table :cvemon_cves do |t|
t.string :cve_id
t.index :cve_id, unique: true
t.string :urls, array: true
t.timestamps
2022-04-07 04:32:08 -05:00
end
end
end