blob: ec938afc7badbc051827e6a392eacb737a7732f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class IncreaseSelfHostedAttachmentSizeLimit < Gitlab::Database::Migration[2.1]
enable_lock_retries!
def up
change_column_default :application_settings, :max_attachment_size, from: 10, to: 100
end
def down
change_column_default :application_settings, :max_attachment_size, from: 100, to: 10
end
end
|