class CreateCves < ActiveRecord::Migration[5.2] def change create_table :cves do |t| t.jsonb :cve_data_meta t.jsonb :affects t.string :data_format t.string :data_type t.string :data_version t.jsonb :description t.jsonb :impact t.jsonb :problemtype t.jsonb :references t.jsonb :source end end end