mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-10-24 17:04:12 +00:00
add list api keys for account, track last_used for api_keys
This commit is contained in:
1 parent
4efee5a8b8
commit
3be0412de1
7 files changed
+208
-28
No files matched your search
@@ -56,6 +56,8 @@ token CHAR(36) NOT NULL UNIQUE ,
|
||||
account_sid CHAR(36),
|
||||
service_provider_sid CHAR(36),
|
||||
expires_at TIMESTAMP,
|
||||
last_used TIMESTAMP ON UPDATE NOW(),
|
||||
created_at TIMESTAMP DEFAULT NOW(),
|
||||
PRIMARY KEY (api_key_sid)
|
||||
) ENGINE=InnoDB COMMENT='An authorization token that is used to access the REST api';
|
||||
|
||||
|
||||
Reference in new issue
Block a user