Fix transaction around settings migration (#24761)

pull/59/head^2
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
1 changed files with 2 additions and 0 deletions

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 = {