diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-14 18:49:24 +0300 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-14 18:49:24 +0300 |
commit | 021d53c96d308df7c721984435442993357a3414 (patch) | |
tree | 13bd15cb10952efd5c759a5dee5b8de6f243e056 /db/migrate/20160314143402_projects_add_pushes_since_gc.rb | |
parent | a02fe251df7ea7316f51850fe603e7e5ac4431e2 (diff) |
Run 'git gc' every 10 pushes
Diffstat (limited to 'db/migrate/20160314143402_projects_add_pushes_since_gc.rb')
-rw-r--r-- | db/migrate/20160314143402_projects_add_pushes_since_gc.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160314143402_projects_add_pushes_since_gc.rb b/db/migrate/20160314143402_projects_add_pushes_since_gc.rb new file mode 100644 index 00000000000..5d30a38bc99 --- /dev/null +++ b/db/migrate/20160314143402_projects_add_pushes_since_gc.rb @@ -0,0 +1,5 @@ +class ProjectsAddPushesSinceGc < ActiveRecord::Migration + def change + add_column :projects, :pushes_since_gc, :integer, default: 0 + end +end |