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/20110915205627_add_private_flag_to_project.rb')
-rw-r--r--db/migrate/20110915205627_add_private_flag_to_project.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20110915205627_add_private_flag_to_project.rb b/db/migrate/20110915205627_add_private_flag_to_project.rb
new file mode 100644
index 00000000000..73c0b9df834
--- /dev/null
+++ b/db/migrate/20110915205627_add_private_flag_to_project.rb
@@ -0,0 +1,5 @@
+class AddPrivateFlagToProject < ActiveRecord::Migration
+ def change
+ add_column :projects, :private_flag, :boolean, :default => true, :null => false
+ end
+end