summaryrefslogtreecommitdiff
path: root/db/migrate/20221107115247_change_scim_identity_group_id_remove_null.rb
blob: f68cab682616622aab796d714f87fa1cbc5d9fe0 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true
class ChangeScimIdentityGroupIdRemoveNull < Gitlab::Database::Migration[2.0]
  def up
    change_column_null :scim_identities, :group_id, true
  end

  def down
    # There may now be nulls in the table, so we cannot re-add the constraint here.
  end
end