blob: 8fc80970d4510935817b0a04dc59a75320ad6602 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
class CreateSbomOccurrences < Gitlab::Database::Migration[2.0]
def change
create_table :sbom_occurrences do |t|
t.timestamps_with_timezone
t.bigint :component_version_id, null: false, index: true
t.bigint :project_id, null: false, index: true
t.bigint :pipeline_id, index: true
t.bigint :source_id, index: true
t.binary :commit_sha, null: false
end
end
end
|