Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20210621090030_add_text_limit_to_timelogs_summary.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ac872afd3fa0c3631ef321095e1d86a256530ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class AddTextLimitToTimelogsSummary < ActiveRecord::Migration[6.1]
  include Gitlab::Database::MigrationHelpers

  disable_ddl_transaction!

  def up
    add_text_limit :timelogs, :summary, 255
  end

  def down
    remove_text_limit :timelogs, :summary
  end
end