data_importer/db/migrate/20220419203353_create_gsds.rb

13 lines
255 B
Ruby
Raw Permalink Normal View History

2022-04-20 00:15:01 -05:00
class CreateGsds < ActiveRecord::Migration[7.0]
def change
create_table :gsds do |t|
t.string :gsd_id
t.index :gsd_id, unique: true
t.string :cve_id
t.jsonb :gsd
t.jsonb :namespaces
t.timestamps
end
end
end