diff options
author | Valery Sizov <valery@gitlab.com> | 2017-10-03 12:36:34 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-10-03 12:36:59 +0300 |
commit | be6ecb784234932edaa662ccc4e862840ba4e34c (patch) | |
tree | 1f163484d9e0f60c6d1ea95e3ec1ac258209c411 | |
parent | 6217523b8fff043b4083679e0f0db76c449a90ee (diff) | |
download | gitlab-ce-be6ecb784234932edaa662ccc4e862840ba4e34c.tar.gz |
[Rails 5][ci skip] Fix spec/lib/gitlab/database/rename_reserved_paths_migration/v1/rename_namespaces_spec.rb
-rw-r--r-- | lib/gitlab/database/rename_reserved_paths_migration/v1/migration_classes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/database/rename_reserved_paths_migration/v1/migration_classes.rb b/lib/gitlab/database/rename_reserved_paths_migration/v1/migration_classes.rb index 5481024db8e..fe6d71c9319 100644 --- a/lib/gitlab/database/rename_reserved_paths_migration/v1/migration_classes.rb +++ b/lib/gitlab/database/rename_reserved_paths_migration/v1/migration_classes.rb @@ -37,6 +37,7 @@ module Gitlab class Namespace < ActiveRecord::Base include MigrationClasses::Routable self.table_name = 'namespaces' + self.inheritance_column = nil belongs_to :parent, class_name: "#{MigrationClasses.name}::Namespace" has_one :route, as: :source |