From 4ac27e2db15b379fdf7959df141ab78940f4ea2b Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sat, 1 Jun 2024 03:37:08 +0200 Subject: [PATCH] Be more precise: Trigger::IndexCached --- src/service.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/service.cr b/src/service.cr index a450888..22e3c90 100644 --- a/src/service.cr +++ b/src/service.cr @@ -24,9 +24,9 @@ class AuthD::Service < IPC # DB and its indexes. property users : DODB::Storage::Cached(User) - property users_per_uid : DODB::Trigger(User) - property users_per_login : DODB::Trigger(User) - property users_per_email : DODB::Trigger(User) + property users_per_uid : DODB::Trigger::IndexCached(User) + property users_per_login : DODB::Trigger::IndexCached(User) + property users_per_email : DODB::Trigger::IndexCached(User) property logged_users : Hash(Int32, AuthD::User::Public)