debian-mirror-gitlab/db/migrate/20220914130800_add_jitsu_key_to_projects.rb
2022-11-25 23:54:43 +05:30

20 lines
503 B
Ruby

# frozen_string_literal: true
# rubocop:disable Migration/AddLimitToTextColumns
# limit is added in 20220914131449_add_text_limit_to_projects_jitsu_key.rb
class AddJitsuKeyToProjects < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
def up
with_lock_retries do
add_column :project_settings, :jitsu_key, :text
end
end
def down
with_lock_retries do
remove_column :project_settings, :jitsu_key
end
end
end
# rubocop:enable Migration/AddLimitToTextColumns