Fix transaction around settings migration (#24761)

This commit is contained in:
Eugen Rochko 2023-05-01 17:45:18 +02:00 committed by GitHub
parent fc56eda94b
commit f1c1fa1411
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,8 @@
# frozen_string_literal: true # frozen_string_literal: true
class MoveUserSettings < ActiveRecord::Migration[6.1] class MoveUserSettings < ActiveRecord::Migration[6.1]
disable_ddl_transaction!
class User < ApplicationRecord; end class User < ApplicationRecord; end
MAPPING = { MAPPING = {