summaryrefslogtreecommitdiff
path: root/db/migrate/20200102140148_add_expanded_environment_name_to_ci_build_metadata.rb
blob: e76806c5d3f6c1a097f2d27f1f5f861d3a043d33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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

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

  def down
    remove_column :ci_builds_metadata, :expanded_environment_name
  end
end