gitlabhq/db/migrate/20111016195506_add_file_name_to_snippets.rb
2011-10-17 00:07:10 +03:00

7 lines
166 B
Ruby

class AddFileNameToSnippets < ActiveRecord::Migration
def change
add_column :snippets, :file_name, :string
remove_column :snippets, :content_type
end
end