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

20191217212348_add_modsecurity_enabled_to_ingress_application.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2690a5762dd4fdfec88f5c6c7dd5c2058ccdfa4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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.

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

  def up
    add_column :clusters_applications_ingress, :modsecurity_enabled, :boolean
  end

  def down
    remove_column :clusters_applications_ingress, :modsecurity_enabled
  end
end