summaryrefslogtreecommitdiff
path: root/db/migrate/20210629031900_associate_existing_dast_builds_with_variables.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210629031900_associate_existing_dast_builds_with_variables.rb')
-rw-r--r--db/migrate/20210629031900_associate_existing_dast_builds_with_variables.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20210629031900_associate_existing_dast_builds_with_variables.rb b/db/migrate/20210629031900_associate_existing_dast_builds_with_variables.rb
index 5db39334550..3d81db87143 100644
--- a/db/migrate/20210629031900_associate_existing_dast_builds_with_variables.rb
+++ b/db/migrate/20210629031900_associate_existing_dast_builds_with_variables.rb
@@ -20,6 +20,7 @@ class AssociateExistingDastBuildsWithVariables < ActiveRecord::Migration[6.1]
class Build < ApplicationRecord
self.table_name = 'ci_builds'
self.inheritance_column = :_type_disabled
+ self.gitlab_schema = :gitlab_ci
default_scope { where(name: :dast, stage: :dast) } # rubocop:disable Cop/DefaultScope
end