BigW Consortium Gitlab

20170503114228_add_description_to_snippets.rb 271 Bytes
Newer Older
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