summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2018-11-26 13:56:13 +0100
committerToon Claes <toon@gitlab.com>2018-11-27 22:48:55 +0100
commitde0cc8e46a063676bbdf05cb5b1bb1b4ccf08f14 (patch)
tree295548054e1f4618f911d911238cf80b48f2cc95 /lib
parent4711100164a3afc02c9a849ca1e88de4ab4ad956 (diff)
downloadgitlab-ce-de0cc8e46a063676bbdf05cb5b1bb1b4ccf08f14.tar.gz
Disable the `type` STI column for the migration
There is no need to make a difference between a Group or User namespace, so also no need to define the classes of those.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb b/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb
index bbe75607351..7a6d4175b99 100644
--- a/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb
+++ b/lib/gitlab/background_migration/backfill_project_fullpath_in_repo_config.rb
@@ -77,6 +77,7 @@ module Gitlab
# child of another namespace.
class Namespace < ActiveRecord::Base
self.table_name = 'namespaces'
+ self.inheritance_column = nil
include Routable