gitlabhq/db/migrate/20120206170141_add_modularity_fields_to_project.rb

8 lines
348 B
Ruby
Raw Normal View History

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