debian-mirror-gitlab/db/migrate/20160831214002_create_project_features.rb
2019-02-15 15:39:39 +05:30

17 lines
461 B
Ruby

# rubocop:disable Migration/Timestamps
class CreateProjectFeatures < ActiveRecord::Migration[4.2]
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