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

7 lines
164 B
Ruby
Raw Normal View History

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