summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-04-18 17:16:48 +0200
committerBob Van Landuyt <bob@gitlab.com>2017-05-01 11:14:24 +0200
commit389057f00184a3549a1874174cbb81c807abfd49 (patch)
tree092e76a6b3939edf26b69f2ab5acd1ca59ada691 /db
parente50f4bc066e4477e9c59708f978383b071dc2959 (diff)
downloadgitlab-ce-389057f00184a3549a1874174cbb81c807abfd49.tar.gz
Rename Projects & Namespaces based on entire paths
Diffstat (limited to 'db')
-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)