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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20120206170141_add_modularity_fields_to_project.rb')
-rw-r--r--db/migrate/20120206170141_add_modularity_fields_to_project.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20120206170141_add_modularity_fields_to_project.rb b/db/migrate/20120206170141_add_modularity_fields_to_project.rb
new file mode 100644
index 00000000000..d63de0c2be3
--- /dev/null
+++ b/db/migrate/20120206170141_add_modularity_fields_to_project.rb
@@ -0,0 +1,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