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

class AddEnforcedGitCheckToSamlProvider < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    add_column :saml_providers, :git_check_enforced, :boolean, default: false, null: false
  end

  def down
    remove_column :saml_providers, :git_check_enforced
  end
end