mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FEATURE: track date api key was last used
Start tracking the date an api key was last used. This has already been the case for user_api_keys. This information can provide us with the ability to automatically expire unused api keys after N days.
This commit is contained in:
@ -35,6 +35,7 @@ end
|
||||
# updated_at :datetime not null
|
||||
# allowed_ips :inet is an Array
|
||||
# hidden :boolean default(FALSE), not null
|
||||
# last_used_at :datetime
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
|
Reference in New Issue
Block a user