diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-01 16:00:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-01 16:00:51 +0000 |
commit | b2e9603724fc002b87cc23926a613b4e7ab10a42 (patch) | |
tree | 53b0a2aa2157561545516f0d2baa50de81094fb5 /db/migrate | |
parent | a5131ced0f04bd5e8bc58fc54b60f5e93ed93b4c (diff) | |
download | gitlab-ce-b2e9603724fc002b87cc23926a613b4e7ab10a42.tar.gz |
Add latest changes from gitlab-org/gitlab@14-3-stable-ee
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20210826145509_add_function_for_inserting_deleted_records.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20210826145509_add_function_for_inserting_deleted_records.rb b/db/migrate/20210826145509_add_function_for_inserting_deleted_records.rb index ef688cdfd8c..631cc27c8c0 100644 --- a/db/migrate/20210826145509_add_function_for_inserting_deleted_records.rb +++ b/db/migrate/20210826145509_add_function_for_inserting_deleted_records.rb @@ -6,7 +6,7 @@ class AddFunctionForInsertingDeletedRecords < ActiveRecord::Migration[6.1] def up execute(<<~SQL) - CREATE FUNCTION #{DELETED_RECORDS_INSERT_FUNCTION_NAME}() + CREATE OR REPLACE FUNCTION #{DELETED_RECORDS_INSERT_FUNCTION_NAME}() RETURNS TRIGGER AS $$ BEGIN |