gitlabhq/db/migrate/20111016193417_add_content_type_to_snippets.rb
2011-10-17 00:07:10 +03:00

6 lines
164 B
Ruby

class AddContentTypeToSnippets < ActiveRecord::Migration
def change
add_column :snippets, :content_type, :string, :null => false, :default => "txt"
end
end