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

20120206170141_add_modularity_fields_to_project.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d63de0c2be3578fb83bc87485c9115321e968d4a (plain)
1
2
3
4
5
6
7
class AddModularityFieldsToProject < ActiveRecord::Migration
  def change
    add_column :projects, :issues_enabled, :boolean, :null => false, :default => true
    add_column :projects, :wall_enabled, :boolean, :null => false, :default => true
    add_column :projects, :merge_requests_enabled, :boolean, :null => false, :default => true
  end
end