summaryrefslogtreecommitdiff
path: root/db/migrate/20160315135439_project_add_repository_check.rb
blob: c03d8bb041c63f5b9471b19393f5f9e668ed3b4a (plain)
1
2
3
4
5
6
7
8
9
# rubocop:disable all
class ProjectAddRepositoryCheck < ActiveRecord::Migration[4.2]
  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