diff options
Diffstat (limited to 'lib/gitlab/database/partitioning_migration_helpers/partitioned_foreign_key.rb')
-rw-r--r-- | lib/gitlab/database/partitioning_migration_helpers/partitioned_foreign_key.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/gitlab/database/partitioning_migration_helpers/partitioned_foreign_key.rb b/lib/gitlab/database/partitioning_migration_helpers/partitioned_foreign_key.rb deleted file mode 100644 index f9a90511f9b..00000000000 --- a/lib/gitlab/database/partitioning_migration_helpers/partitioned_foreign_key.rb +++ /dev/null @@ -1,13 +0,0 @@ -# frozen_string_literal: true - -module Gitlab - module Database - module PartitioningMigrationHelpers - class PartitionedForeignKey < ApplicationRecord - validates_with PartitionedForeignKeyValidator - - scope :by_referenced_table, ->(table) { where(to_table: table) } - end - end - end -end |