diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-16 00:12:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-16 00:12:52 +0300 |
commit | 1760f824bb6bcac278e95493805dff70a5b2a75b (patch) | |
tree | 3027cf76234f2586cb409e27a6efbd33d5dae7c9 /app/models/container_repository.rb | |
parent | 0f50c47cd7f7b88cc61e954d601b90fe7d12aac3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/container_repository.rb')
-rw-r--r-- | app/models/container_repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/container_repository.rb b/app/models/container_repository.rb index 38bd8143bf7..1f123cb0244 100644 --- a/app/models/container_repository.rb +++ b/app/models/container_repository.rb @@ -79,7 +79,7 @@ class ContainerRepository < ApplicationRecord ) end - state_machine :migration_state, initial: :default do + state_machine :migration_state, initial: :default, use_transactions: false do state :pre_importing do validates :migration_pre_import_started_at, presence: true validates :migration_pre_import_done_at, presence: false |