gitlabhq/db/migrate/20111016193417_add_content_type_to_snippets.rb
Dmitriy Zaporozhets 6b030fd41d 1.1pre1
2011-10-21 20:04:41 +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