לא ניתן לשחזר/לעדכן דיסקורס (PG::InvalidTextRepresentation: שגיאה: תחביר קלט לא תקין עבור סוג שלם: "[]")

I think you should be able to run SiteSetting.selectable_avatars = "" (from the rails console again), and then be good for a rebuild.