summaryrefslogtreecommitdiff
path: root/db/migrate/20220722150231_create_function_gitlab_schema_prevent_write.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20220722150231_create_function_gitlab_schema_prevent_write.rb')
-rw-r--r--db/migrate/20220722150231_create_function_gitlab_schema_prevent_write.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20220722150231_create_function_gitlab_schema_prevent_write.rb b/db/migrate/20220722150231_create_function_gitlab_schema_prevent_write.rb
index d25923923f2..29c6d9ce87d 100644
--- a/db/migrate/20220722150231_create_function_gitlab_schema_prevent_write.rb
+++ b/db/migrate/20220722150231_create_function_gitlab_schema_prevent_write.rb
@@ -26,7 +26,7 @@ class CreateFunctionGitlabSchemaPreventWrite < Gitlab::Database::Migration[2.0]
return if Gitlab.com?
execute(<<~SQL)
- DROP FUNCTION #{TRIGGER_FUNCTION_NAME}
+ DROP FUNCTION #{TRIGGER_FUNCTION_NAME} CASCADE
SQL
end
end