Parcourir la source

Fix requiring an extra restart after recent post-deployment migrations (#17422)

Follow-up to #16409
Claire il y a 2 ans
Parent
commit
987d88ea56
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      app/models/user.rb

+ 2 - 0
app/models/user.rb

@@ -45,6 +45,8 @@ class User < ApplicationRecord
   self.ignored_columns = %w(
     remember_created_at
     remember_token
+    current_sign_in_ip
+    last_sign_in_ip
   )
 
   include Settings::Extend