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

20170503114228_add_description_to_snippets.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3fc960b2da5b8e324e905ee2253f66b35ebb05b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class AddDescriptionToSnippets < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def change
    add_column :snippets, :description, :text
    add_column :snippets, :description_html, :text
  end
end