2018-11-26 15:02:33 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
|
|
|
|
# for more information on how to write migrations for GitLab.
|
|
|
|
|
2018-12-12 10:38:40 -05:00
|
|
|
class KnativeExternalIp < ActiveRecord::Migration[4.2]
|
2018-11-26 15:02:33 -05:00
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
|
|
|
DOWNTIME = false
|
|
|
|
|
2020-04-21 11:21:10 -04:00
|
|
|
# rubocop:disable Migration/PreventStrings
|
2018-11-26 15:02:33 -05:00
|
|
|
def change
|
2020-04-21 11:21:10 -04:00
|
|
|
add_column :clusters_applications_knative, :external_ip, :string
|
2018-11-26 15:02:33 -05:00
|
|
|
end
|
2020-04-21 11:21:10 -04:00
|
|
|
# rubocop:enable Migration/PreventStrings
|
2018-11-26 15:02:33 -05:00
|
|
|
end
|