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: 78151ed9ff6454f4e1287c25d8db923a69ece49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class AddDescriptionToSnippets < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

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