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

20160831214002_create_project_features.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7ac6c8ec654295c08576649601aca08ceed36071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# rubocop:disable Migration/Timestamps
class CreateProjectFeatures < ActiveRecord::Migration
  DOWNTIME = false

  def change
    create_table :project_features do |t|
      t.belongs_to :project, index: true
      t.integer  :merge_requests_access_level
      t.integer  :issues_access_level
      t.integer  :wiki_access_level
      t.integer  :snippets_access_level
      t.integer  :builds_access_level

      t.timestamps null: true
    end
  end
end