debian-mirror-gitlab/db/migrate/20220112205111_create_security_training_providers.rb

15 lines
394 B
Ruby
Raw Normal View History

2022-03-02 08:16:31 +05:30
# 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