summaryrefslogtreecommitdiff
path: root/config/initializers/postgres_partitioning.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/postgres_partitioning.rb')
-rw-r--r--config/initializers/postgres_partitioning.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/postgres_partitioning.rb b/config/initializers/postgres_partitioning.rb
index 6b64ea3f83d..787e46c2405 100644
--- a/config/initializers/postgres_partitioning.rb
+++ b/config/initializers/postgres_partitioning.rb
@@ -4,7 +4,7 @@
# (even with eager loading disabled).
Gitlab::Database::Partitioning::PartitionCreator.register(AuditEvent)
-Gitlab::Database::Partitioning::PartitionCreator.register(WebHookLogPartitioned)
+Gitlab::Database::Partitioning::PartitionCreator.register(WebHookLog)
begin
Gitlab::Database::Partitioning::PartitionCreator.new.create_partitions unless ENV['DISABLE_POSTGRES_PARTITION_CREATION_ON_STARTUP']