Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20160315135439_project_add_repository_check.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8fe649246c7478f063a48565d9fb62dbae136000 (plain)
1
2
3
4
5
6
7
8
9
# rubocop:disable all
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