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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-31 11:11:35 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-31 11:11:35 +0400
commit193a5624b2daf4d638c382b88001d06535f57f2d (patch)
tree299193dfe694c776a1fc98c59f0c38565ab7a488 /db/migrate/20130131070232_remove_private_flag_from_project.rb
parent563c55eb7e4db988048bd1b2675ee73e0e601402 (diff)
add path and path_with_namespace to api project entity
Diffstat (limited to 'db/migrate/20130131070232_remove_private_flag_from_project.rb')
-rw-r--r--db/migrate/20130131070232_remove_private_flag_from_project.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130131070232_remove_private_flag_from_project.rb b/db/migrate/20130131070232_remove_private_flag_from_project.rb
new file mode 100644
index 00000000000..5754db11558
--- /dev/null
+++ b/db/migrate/20130131070232_remove_private_flag_from_project.rb
@@ -0,0 +1,9 @@
+class RemovePrivateFlagFromProject < ActiveRecord::Migration
+ def up
+ remove_column :projects, :private_flag
+ end
+
+ def down
+ add_column :projects, :private_flag, :boolean, default: true, null: false
+ end
+end