mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Add deprecation notice for the status column.
This commit is contained in:
parent
6839ecdbda
commit
f3e4ff1a7e
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue