summaryrefslogtreecommitdiff
path: root/db/migrate/20160315135439_project_add_repository_check.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 13:47:05 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-06 13:47:05 +0200
commit5cf56e56470e695b10db02dff70d0f0b50060518 (patch)
treed46ecd17857f8e49abda15c03576c099e2bf39df /db/migrate/20160315135439_project_add_repository_check.rb
parente3558ed67e7e829fe5148c3fb2fe80ed045fe1b4 (diff)
downloadgitlab-ce-5cf56e56470e695b10db02dff70d0f0b50060518.tar.gz
Rename almost all the things
Diffstat (limited to 'db/migrate/20160315135439_project_add_repository_check.rb')
-rw-r--r--db/migrate/20160315135439_project_add_repository_check.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160315135439_project_add_repository_check.rb b/db/migrate/20160315135439_project_add_repository_check.rb
new file mode 100644
index 00000000000..5a0859a30b2
--- /dev/null
+++ b/db/migrate/20160315135439_project_add_repository_check.rb
@@ -0,0 +1,6 @@
+class ProjectAddRepositoryCheck < ActiveRecord::Migration
+ def change
+ add_column :projects, :last_repository_check_failed, :boolean, default: false
+ add_column :projects, :last_repository_check_at, :datetime
+ end
+end