debian-mirror-gitlab/db/migrate/20160831214002_create_project_features.rb

18 lines
456 B
Ruby
Raw Normal View History

2017-09-10 17:25:29 +05:30
# rubocop:disable Migration/Timestamps
2016-09-29 09:46:39 +05:30
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
2017-08-17 22:00:37 +05:30
t.timestamps null: true
2016-09-29 09:46:39 +05:30
end
end
end