data_importer/db/migrate/20220404150811_create_cpes.rb
2022-04-19 02:37:27 -05:00

15 lines
324 B
Ruby

# frozen_string_literal: true
class CreateCpes < ActiveRecord::Migration[7.0]
def change
create_table :cpes do |t|
t.string :status
t.date :modification_date
t.integer :nvd_id
t.index :nvd_id, unique: true
t.jsonb :references
t.string :title
t.string :name
end
end
end