Welcome to mirror list, hosted at ThFree Co, Russian Federation.

audit_event_partitioned.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 672daebd14adf8f65d8d37196dda2cf87b2a45b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

# This model is not yet intended to be used.
# It is in a transitioning phase while we are partitioning
# the table on the database-side.
# Please refer to https://gitlab.com/groups/gitlab-org/-/epics/3206
# for details.
class AuditEventPartitioned < ApplicationRecord
  include PartitionedTable

  self.table_name = 'audit_events_part_5fc467ac26'

  partitioned_by :created_at, strategy: :monthly
end