mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
analytics
This commit is contained in:
1 parent
9ab8e52211
commit
ccac673ad2
1 file changed
+5
-4
@@ -53,10 +53,11 @@ select
|
||||
m.user_deleted_at,
|
||||
m.mod_deleted_at
|
||||
from (
|
||||
select model_token, count(*) as use_count
|
||||
from tts_results
|
||||
where created_at > ( CURDATE() - INTERVAL 12 HOUR )
|
||||
group by model_token
|
||||
select maybe_model_token as model_token, count(*) as use_count
|
||||
from generic_inference_jobs
|
||||
where maybe_model_token IS NOT NULL
|
||||
and created_at > ( CURDATE() - INTERVAL 7 DAY )
|
||||
group by maybe_model_token
|
||||
) as r
|
||||
join tts_models as m
|
||||
on m.token = r.model_token
|
||||
|
||||
Reference in new issue
Block a user