summaryrefslogtreecommitdiff
path: root/db/migrate/20160315135439_project_add_repository_check.rb
blob: 8687d5d62965bc8def4a7ab1874cbfb1ad35ae5f (plain)
1
2
3
4
5
6
7
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