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:
authorValery Sizov <vsv2711@gmail.com>2015-12-28 14:32:18 +0300
committerValery Sizov <vsv2711@gmail.com>2016-01-04 17:00:29 +0300
commit8b1844912561a7e6dd0cc361ea1514f2a340e275 (patch)
tree9a6c705fb9ac1c1e6c28f5ed712025c0b020fd1c /db/migrate
parent57074d606b20516921ff2297e2f94262b58e3d3e (diff)
remove public field from namespace and refactoring
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20151228111122_remove_public_from_namespace.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20151228111122_remove_public_from_namespace.rb b/db/migrate/20151228111122_remove_public_from_namespace.rb
new file mode 100644
index 00000000000..f4c848bbf47
--- /dev/null
+++ b/db/migrate/20151228111122_remove_public_from_namespace.rb
@@ -0,0 +1,6 @@
+# Migration type: online
+class RemovePublicFromNamespace < ActiveRecord::Migration
+ def change
+ remove_column :namespaces, :public, :boolean
+ end
+end