mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
feat(schemas): create log indices on application id and user id (#933)
This commit is contained in:
parent
c3c2cc770d
commit
bf6e08c372
1 changed files with 2 additions and 0 deletions
|
@ -9,3 +9,5 @@ create table logs
|
|||
|
||||
create index logs__type on logs (type);
|
||||
create index logs__created_at on logs (created_at);
|
||||
create index logs__user_id on logs ((payload->>'user_id') nulls last);
|
||||
create index logs__application_id on logs ((payload->>'application_id') nulls last);
|
||||
|
|
Loading…
Reference in a new issue