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

markdown_cache_limits_to_mysql.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f99d500a1376bf82394f770d41a1cb6276282705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class MarkdownCacheLimitsToMysql < ActiveRecord::Migration[4.2]
  DOWNTIME = false

  def up
    return unless Gitlab::Database.mysql?

    change_column :snippets, :content_html, :text, limit: 2147483647
  end

  def down
    # no-op
  end
end