socialforge/db/migrate/20151218110033_add_commits_...

6 lines
144 B
Ruby
Raw Normal View History

2015-12-18 19:57:08 +08:00
class AddCommitsCountToProjects < ActiveRecord::Migration
def change
add_column :projects, :commits_count, :integer, default: 0
end
end