Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220616182001_create_sbom_components.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 59e8e76393a3348f80efe3c7c6ababebc088dfea (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class CreateSbomComponents < Gitlab::Database::Migration[2.0]
  def change
    create_table :sbom_components do |t|
      t.timestamps_with_timezone
      t.integer :component_type, null: false, limit: 2
      t.text :name, null: false, limit: 255
    end
  end
end