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

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

class CreateSecurityTrainingProviders < Gitlab::Database::Migration[1.0]
  def change
    create_table :security_training_providers do |t|
      t.text :name, limit: 256, null: false
      t.text :description, limit: 512
      t.text :url, limit: 512, null: false
      t.text :logo_url, limit: 512

      t.timestamps_with_timezone null: false
    end
  end
end