From 140e0f0bb77f1e327e1c7bc5c953ff762981a3d3 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 1 May 2023 17:45:18 +0200 Subject: [PATCH] Fix transaction around settings migration (#24761) --- db/migrate/20230215074423_move_user_settings.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/migrate/20230215074423_move_user_settings.rb b/db/migrate/20230215074423_move_user_settings.rb index 8dbca9ecd2..dd230b3e84 100644 --- a/db/migrate/20230215074423_move_user_settings.rb +++ b/db/migrate/20230215074423_move_user_settings.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class MoveUserSettings < ActiveRecord::Migration[6.1] + disable_ddl_transaction! + class User < ApplicationRecord; end MAPPING = {