gitlab-org--gitlab-foss/db/migrate/20170503114228_add_description_to_snippets.rb

13 lines
271 B
Ruby
Raw Normal View History

2017-05-03 11:26:49 -04:00
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