blob: 1cd51453fd21f3bbd35355c79cdf4c890e7f2261 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class AddTextLimitToPostgresAsyncIndexesLastError < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
def up
add_text_limit :postgres_async_indexes, :last_error, 10_000
end
def down
remove_text_limit :postgres_async_indexes, :last_error
end
end
|