Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-01 19:00:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-01 19:00:51 +0300
commitb2e9603724fc002b87cc23926a613b4e7ab10a42 (patch)
tree53b0a2aa2157561545516f0d2baa50de81094fb5 /db/migrate
parenta5131ced0f04bd5e8bc58fc54b60f5e93ed93b4c (diff)
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.rb2
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