diff --git a/db/docs/dast_profiles_pipelines.yml b/db/docs/dast_profiles_pipelines.yml
index f27e571558b0f63c9f6b636079a120589d86eb3a..43c8fb3a842d69154984aa571ab01eba88fb8ce6 100644
--- a/db/docs/dast_profiles_pipelines.yml
+++ b/db/docs/dast_profiles_pipelines.yml
@@ -7,7 +7,7 @@ feature_categories:
 description: Join table between DAST Profiles and CI Pipelines
 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56821
 milestone: '13.11'
-gitlab_schema: gitlab_main_cell
+gitlab_schema: gitlab_sec
 allow_cross_foreign_keys:
 - gitlab_main_clusterwide
 desired_sharding_key:
diff --git a/ee/app/models/dast/profiles_pipeline.rb b/ee/app/models/dast/profiles_pipeline.rb
index 768de58538d0fb5fd756301b9ff689435356b796..c26dc17d150a760711662a20f89d4c27b2eaa3d8 100644
--- a/ee/app/models/dast/profiles_pipeline.rb
+++ b/ee/app/models/dast/profiles_pipeline.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 module Dast
-  class ProfilesPipeline < ApplicationRecord
+  class ProfilesPipeline < ::Gitlab::Database::SecApplicationRecord
     include BulkInsertSafe
 
     extend SuppressCompositePrimaryKeyWarning