summaryrefslogtreecommitdiff
path: root/db/migrate/20160315135439_project_add_repository_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160315135439_project_add_repository_check.rb')
-rw-r--r--db/migrate/20160315135439_project_add_repository_check.rb8
1 files changed, 8 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..8687d5d6296
--- /dev/null
+++ b/db/migrate/20160315135439_project_add_repository_check.rb
@@ -0,0 +1,8 @@
+class ProjectAddRepositoryCheck < ActiveRecord::Migration
+ def change
+ add_column :projects, :last_repository_check_failed, :boolean
+ add_index :projects, :last_repository_check_failed
+
+ add_column :projects, :last_repository_check_at, :datetime
+ end
+end