gitlabhq/db/migrate/20111016195506_add_file_nam...

7 lines
166 B
Ruby

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