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

20160713200638_add_repository_read_only_to_projects.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8ee8b55f210d667d9298935329352423020d56d6 (plain)
1
2
3
4
5
6
7
8
9
class AddRepositoryReadOnlyToProjects < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :projects, :repository_read_only, :boolean
  end
end