socialforge/db/migrate/20151218110033_add_commits_...

6 lines
144 B
Ruby

class AddCommitsCountToProjects < ActiveRecord::Migration
def change
add_column :projects, :commits_count, :integer, default: 0
end
end