blob: 166afa133710eba16ee01b11faf48a9064c2baf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
# See https://docs.gitlab.com/ee/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class AddWarnAboutPotentiallyUnwantedCharactersToProjectSettings < Gitlab::Database::Migration[1.0]
enable_lock_retries!
def up
add_column :project_settings, :warn_about_potentially_unwanted_characters, :boolean, null: false, default: true
end
def down
remove_column :project_settings, :warn_about_potentially_unwanted_characters
end
end
|