debian-mirror-gitlab/db/migrate/20170503114228_add_description_to_snippets.rb
2018-12-23 12:14:25 +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