gitlabhq/db/migrate/20120206170141_add_modularity_fields_to_project.rb
2012-02-06 19:40:32 +02:00

8 lines
348 B
Ruby

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