From de0cc8e46a063676bbdf05cb5b1bb1b4ccf08f14 Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Mon, 26 Nov 2018 13:56:13 +0100 Subject: [PATCH] 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. --- .../backfill_project_fullpath_in_repo_config.rb | 1 + 1 file changed, 1 insertion(+) 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