debian-mirror-gitlab/db/migrate/20170503114228_add_description_to_snippets.rb
2019-02-15 15:39:39 +05:30

12 lines
276 B
Ruby

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