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

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

class AddSignedFileToPackagesDebianGroupDistributions < ActiveRecord::Migration[6.1]
  include Gitlab::Database::MigrationHelpers

  # rubocop:disable Migration/AddLimitToTextColumns
  # limit is added in 20210721125637_add_text_limit_to_packages_debian_group_distributions_signed_files
  def change
    add_column :packages_debian_group_distributions, :signed_file, :text
    add_column :packages_debian_group_distributions, :signed_file_store, :integer, limit: 2, default: 1, null: false
  end
  # rubocop:enable Migration/AddLimitToTextColumns
end