mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: basic UI to view user api keys
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class UserApiClientIdIsUnique < ActiveRecord::Migration
|
||||
def change
|
||||
remove_index :user_api_keys, [:client_id]
|
||||
add_index :user_api_keys, [:client_id], unique: true
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddRevokedAtToUserApiKeys < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :user_api_keys, :revoked_at, :datetime
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user