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

7 lines
169 B
Ruby
Raw Normal View History

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