mariadb rebuild

This commit is contained in:
admin
2025-09-30 14:53:22 +07:00
parent 83fc120885
commit 8b2dff8d1d
411 changed files with 5 additions and 2898 deletions

View File

@@ -1,16 +0,0 @@
TYPE=VIEW
query=select `a`.`user_id` AS `user_id`,`u`.`username` AS `username`,count(0) AS `actions_14d`,min(`a`.`created_at`) AS `first_seen_14d`,max(`a`.`created_at`) AS `last_seen_14d` from (`dms`.`audit_logs` `a` left join `dms`.`users` `u` on(`u`.`user_id` = `a`.`user_id`)) where `a`.`created_at` >= curdate() - interval 14 day group by `a`.`user_id`,`u`.`username`
md5=ee755cbffcf20dbe665355e58c085208
updatable=0
algorithm=0
definer_user=root
definer_host=localhost
suid=2
with_check_option=0
timestamp=0001757826203351186
create-version=2
source=SELECT a.user_id, u.username, COUNT(*) AS actions_14d,\n MIN(a.created_at) AS first_seen_14d,\n MAX(a.created_at) AS last_seen_14d\nFROM audit_logs a\nLEFT JOIN users u ON u.user_id = a.user_id\nWHERE a.created_at >= (CURRENT_DATE - INTERVAL 14 DAY)\nGROUP BY a.user_id, u.username
client_cs_name=utf8mb4
connection_cl_name=utf8mb4_general_ci
view_body_utf8=select `a`.`user_id` AS `user_id`,`u`.`username` AS `username`,count(0) AS `actions_14d`,min(`a`.`created_at`) AS `first_seen_14d`,max(`a`.`created_at`) AS `last_seen_14d` from (`dms`.`audit_logs` `a` left join `dms`.`users` `u` on(`u`.`user_id` = `a`.`user_id`)) where `a`.`created_at` >= curdate() - interval 14 day group by `a`.`user_id`,`u`.`username`
mariadb-version=101114