Add deprecation notice for the status column.

This commit is contained in:
Eugene Burmakin 2025-04-04 21:15:33 +02:00
parent 6839ecdbda
commit f3e4ff1a7e

View file

@ -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