Fix transaction around settings migration (#24761)
parent
fc56eda94b
commit
f1c1fa1411
|
@ -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 = {
|
||||||
|
|
Reference in New Issue