debian-mirror-gitlab/db/migrate/20200102140148_add_expanded_environment_name_to_ci_build_metadata.rb
2020-04-08 14:13:33 +05:30

14 lines
319 B
Ruby

# 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