blob: b4fe9519f7bb6a1b2dbd0ca9c3d5befd39f460a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# 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
|