diff options
Diffstat (limited to 'db/migrate/20221205061134_add_disable_pats_to_application_settings.rb')
-rw-r--r-- | db/migrate/20221205061134_add_disable_pats_to_application_settings.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20221205061134_add_disable_pats_to_application_settings.rb b/db/migrate/20221205061134_add_disable_pats_to_application_settings.rb new file mode 100644 index 00000000000..0f2438f3e78 --- /dev/null +++ b/db/migrate/20221205061134_add_disable_pats_to_application_settings.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class AddDisablePatsToApplicationSettings < Gitlab::Database::Migration[2.0] + def change + add_column(:application_settings, :disable_personal_access_tokens, :boolean, default: false, null: false) + end +end |