gitlabhq/db/migrate/20111016195506_add_file_name_to_snippets.rb

7 lines
166 B
Ruby
Raw Normal View History

2011-10-21 19:04:41 +02:00
class AddFileNameToSnippets < ActiveRecord::Migration
def change
add_column :snippets, :file_name, :string
remove_column :snippets, :content_type
end
end