2016-08-01 18:31:21 -04:00
|
|
|
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
|
|
|
|
|
2016-11-28 10:45:08 -05:00
|
|
|
t.timestamps null: true
|
2016-08-01 18:31:21 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|