debian-mirror-gitlab/db/migrate/20170503114228_add_description_to_snippets.rb

13 lines
276 B
Ruby
Raw Normal View History

2018-12-23 12:14:25 +05:30
class AddDescriptionToSnippets < ActiveRecord::Migration[4.2]
2017-09-10 17:25:29 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def change
add_column :snippets, :description, :text
add_column :snippets, :description_html, :text
end
end