summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/project_namespaces/models/namespace.rb
blob: 5576c34cf652990dd40a07548d6b4256af953397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module Gitlab
  module BackgroundMigration
    module ProjectNamespaces
      module Models
        # isolated Namespace model
        class Namespace < ActiveRecord::Base
          include EachBatch

          self.table_name = 'namespaces'
          self.inheritance_column = :_type_disabled
        end
      end
    end
  end
end