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:
authorBob Van Landuyt <bob@gitlab.com>2017-04-18 18:16:48 +0300
committerBob Van Landuyt <bob@gitlab.com>2017-05-01 12:14:24 +0300
commit389057f00184a3549a1874174cbb81c807abfd49 (patch)
tree092e76a6b3939edf26b69f2ab5acd1ca59ada691 /db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb
parente50f4bc066e4477e9c59708f978383b071dc2959 (diff)
Rename Projects & Namespaces based on entire paths
Diffstat (limited to 'db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb')
-rw-r--r--db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb b/db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb
index 73a59ef0d74..88eca39c716 100644
--- a/db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb
+++ b/db/post_migrate/20170412174900_rename_reserved_dynamic_paths.rb
@@ -27,7 +27,8 @@ class RenameReservedDynamicPaths < ActiveRecord::Migration
users
]
- DISALLOWED_WILDCARD_PATHS = %w[objects folders file]
+ DISALLOWED_WILDCARD_PATHS = %w[info/lfs/objects gitlab-lfs/objects
+ environments/folders]
def up
rename_root_paths(DISALLOWED_ROOT_PATHS)