From f3e4ff1a7ef232b91d20699fadffed61a5601845 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Fri, 4 Apr 2025 21:15:33 +0200 Subject: [PATCH] Add deprecation notice for the `status` column. --- app/models/user.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/user.rb b/app/models/user.rb index 4b463637..fd56c07b 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -109,6 +109,7 @@ class User < ApplicationRecord end def activate + # TODO: Remove the `status` column in the future. update(status: :active, active_until: 1000.years.from_now) end