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
path: root/lib
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2018-11-26 15:56:13 +0300
committerToon Claes <toon@gitlab.com>2018-11-28 00:48:55 +0300
commitde0cc8e46a063676bbdf05cb5b1bb1b4ccf08f14 (patch)
tree295548054e1f4618f911d911238cf80b48f2cc95 /lib
parent4711100164a3afc02c9a849ca1e88de4ab4ad956 (diff)
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