debian-mirror-gitlab/db/migrate/20150717130904_add_commits_count_to_project.rb

6 lines
142 B
Ruby
Raw Normal View History

2015-09-11 14:41:01 +05:30
class AddCommitsCountToProject < ActiveRecord::Migration
def change
add_column :projects, :commit_count, :integer, default: 0
end
end