0
Fork 0
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:
IceHe.xyz 2022-05-25 12:59:35 +08:00 committed by GitHub
parent c3c2cc770d
commit bf6e08c372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);