2020-04-08 14:13:33 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class AddExpandedEnvironmentNameToCiBuildMetadata < ActiveRecord::Migration[5.2]
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
# rubocop:disable Migration/PreventStrings
|
2020-04-08 14:13:33 +05:30
|
|
|
def up
|
|
|
|
add_column :ci_builds_metadata, :expanded_environment_name, :string, limit: 255
|
|
|
|
end
|
2020-05-24 23:13:21 +05:30
|
|
|
# rubocop:enable Migration/PreventStrings
|
2020-04-08 14:13:33 +05:30
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :ci_builds_metadata, :expanded_environment_name
|
|
|
|
end
|
|
|
|
end
|