[Glitch] Fix transaction around settings migration

Port f1c1fa1411 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/59/head^2
Eugen Rochko 2023-05-01 17:45:18 +02:00 committed by Claire
parent aff2d55b80
commit 75e28731a5
1 changed files with 2 additions and 0 deletions

View File

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