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

View file

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