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.
This commit is contained in:
Toon Claes 2018-11-26 13:56:13 +01:00
parent 4711100164
commit de0cc8e46a
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ module Gitlab
# child of another namespace.
class Namespace < ActiveRecord::Base
self.table_name = 'namespaces'
self.inheritance_column = nil
include Routable