blob: 324b9193efb11c7d7baa1776d9c337faa71b8690 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class AddTextLimitToElasticsearchUsername < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
def up
add_text_limit :application_settings, :elasticsearch_username, 255
end
def down
remove_text_limit :application_settings, :elasticsearch_username
end
end
|