Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20150717130904_add_commits_count_to_project.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5799e068c693c0f5aee55685d621be83b221f1f0 (plain)
1
2
3
4
5
6
# rubocop:disable all
class AddCommitsCountToProject < ActiveRecord::Migration
  def change
    add_column :projects, :commit_count, :integer, default: 0
  end
end