debian-mirror-gitlab/db/migrate/20170503114228_add_description_to_snippets.rb
2017-09-10 17:25:29 +05:30

12 lines
271 B
Ruby

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