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:
parent
4711100164
commit
de0cc8e46a
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ module Gitlab
|
|||
# child of another namespace.
|
||||
class Namespace < ActiveRecord::Base
|
||||
self.table_name = 'namespaces'
|
||||
self.inheritance_column = nil
|
||||
|
||||
include Routable
|
||||
|
||||
|
|
Loading…
Reference in a new issue