diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-15 21:08:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-15 21:08:42 +0000 |
commit | 040d734373c9c2db3c70eb81798db038576847ca (patch) | |
tree | b2bdeaa38a9c13a1ea7e59083755e1bf4c7e6b22 /.gitlab | |
parent | b302502690b2e1422a4ef6abebdcf3ff4dc88543 (diff) | |
download | gitlab-ce-040d734373c9c2db3c70eb81798db038576847ca.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new Git repository type.md | 2 | ||||
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new blob type.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab/issue_templates/Geo Replicate a new Git repository type.md b/.gitlab/issue_templates/Geo Replicate a new Git repository type.md index a00893dd867..e1c5928b950 100644 --- a/.gitlab/issue_templates/Geo Replicate a new Git repository type.md +++ b/.gitlab/issue_templates/Geo Replicate a new Git repository type.md @@ -64,7 +64,7 @@ For more information, see the [Enable Geo migrations to use Migration[2.0]](http disable_ddl_transaction! def up - ActiveRecord::Base.transaction do + ApplicationRecord.transaction do create_table :cool_widget_registry, id: :bigserial, force: :cascade do |t| t.bigint :cool_widget_id, null: false t.datetime_with_timezone :created_at, null: false diff --git a/.gitlab/issue_templates/Geo Replicate a new blob type.md b/.gitlab/issue_templates/Geo Replicate a new blob type.md index 35978c87418..9158885262d 100644 --- a/.gitlab/issue_templates/Geo Replicate a new blob type.md +++ b/.gitlab/issue_templates/Geo Replicate a new blob type.md @@ -66,7 +66,7 @@ For more information, see the [Enable Geo migrations to use Migration[2.0]](http disable_ddl_transaction! def up - ActiveRecord::Base.transaction do + ApplicationRecord.transaction do create_table :cool_widget_registry, id: :bigserial, force: :cascade do |t| t.bigint :cool_widget_id, null: false t.datetime_with_timezone :created_at, null: false |