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

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

class AddEnvironmentAutoStopInToCiBuildsMetadata < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  def up
    add_column :ci_builds_metadata, :environment_auto_stop_in, :string, limit: 255
  end

  def down
    remove_column :ci_builds_metadata, :environment_auto_stop_in
  end
end