about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-05-27 20:05:22 +0200
committerGitHub <noreply@github.com>2022-05-27 20:05:22 +0200
commite34dd3644c830895988a3116a7b6949fd81ed3fa (patch)
tree29b59d31e90a59345a6e8cc5ed530989aa7d27de /app/models
parentfbcbf7898f000d9d1a21d52e8a8d3ed4602aa7db (diff)
Remove unused `filtered_languages` column (#18533)
* Remove unused `filtered_languages` column

Fixes #18522

* Fix tests
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index ab2e391e9..23febb6fe 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -26,7 +26,6 @@
 #  otp_required_for_login    :boolean          default(FALSE), not null
 #  last_emailed_at           :datetime
 #  otp_backup_codes          :string           is an Array
-#  filtered_languages        :string           default([]), not null, is an Array
 #  account_id                :bigint(8)        not null
 #  disabled                  :boolean          default(FALSE), not null
 #  moderator                 :boolean          default(FALSE), not null
@@ -48,6 +47,7 @@ class User < ApplicationRecord
     current_sign_in_ip
     last_sign_in_ip
     skip_sign_in_token
+    filtered_languages
   )
 
   include Settings::Extend