blob: 9e351f190f4fbed136fa62d0429c061464b5b8b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
class AddDiagramsnetToApplicationSettings < Gitlab::Database::Migration[2.1]
enable_lock_retries!
# rubocop:disable Migration/AddLimitToTextColumns
# limit is added in 20230406115900_add_diagramsnet_text_limit.rb
def change
add_column :application_settings, :diagramsnet_enabled, :boolean, default: true, null: false
add_column :application_settings, :diagramsnet_url, :text, default: 'https://embed.diagrams.net'
end
# rubocop:enable Migration/AddLimitToTextColumns
end
|