about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--db/migrate/20230215074424_move_glitch_user_settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20230215074424_move_glitch_user_settings.rb b/db/migrate/20230215074424_move_glitch_user_settings.rb
index 6b5a25925..76fafdd76 100644
--- a/db/migrate/20230215074424_move_glitch_user_settings.rb
+++ b/db/migrate/20230215074424_move_glitch_user_settings.rb
@@ -24,7 +24,7 @@ class MoveGlitchUserSettings < ActiveRecord::Migration[6.1]
     end
 
     def value
-      YAML.safe_load(self[:value], permitted_classes: [ActiveSupport::HashWithIndifferentAccess]) if self[:value].present?
+      YAML.safe_load(self[:value], permitted_classes: [ActiveSupport::HashWithIndifferentAccess, Symbol]) if self[:value].present?
     end
   end