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

20130611210815_increase_snippet_text_column_size.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f710c79a9a5d0fedc861904c82ea58f273613fa4 (plain)
1
2
3
4
5
6
7
8
9
10
# rubocop:disable all
class IncreaseSnippetTextColumnSize < ActiveRecord::Migration
  def up
    # MYSQL LARGETEXT for snippet
    change_column :snippets, :content, :text, :limit => 4294967295
  end

  def down
  end
end