13 lines
333 B
Ruby
13 lines
333 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class CreateSbomSources < Gitlab::Database::Migration[2.0]
|
||
|
def change
|
||
|
create_table :sbom_sources do |t|
|
||
|
t.timestamps_with_timezone
|
||
|
t.integer :source_type, null: false, limit: 2
|
||
|
t.jsonb :source, null: false, default: {}
|
||
|
t.binary :fingerprint, null: false
|
||
|
end
|
||
|
end
|
||
|
end
|