debian-mirror-gitlab/db/migrate/20150717130904_add_commits_count_to_project.rb
2018-12-23 12:14:25 +05:30

7 lines
169 B
Ruby

# rubocop:disable all
class AddCommitsCountToProject < ActiveRecord::Migration[4.2]
def change
add_column :projects, :commit_count, :integer, default: 0
end
end