Andras Bacsai and Claude Opus 5.5
dd7ad91ba2
fix(cleanup): delete old rows in batches and report the real count
...
cleanup:database used orderBy()->skip(10)->delete(). Laravel drops the offset
in a DELETE, so it deleted all old rows anyway, and the count query with the
offset printed 0 on PostgreSQL. Count without the offset, delete in batches of
1000 rows so a large table is not locked by one long DELETE, and write the
output through the command so it is captured.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-09-28 11:50:32 +02:00
Andras Bacsai
40e5fd8521
feat(audit): add team activity tracking and audit log
2026-08-22 13:18:14 +02:00
peaklabs-dev
3e9dd6a7bf
chore: remove webhooks table cleanup
2025-09-10 19:56:15 +02:00
Andras Bacsai
bfe4200012
fix: cleanup old scheduled_task_executions
2025-01-28 10:19:41 +01:00
Andras Bacsai
1fe4dd722b
Revert "rector: arrrrr"
...
This reverts commit 16c0cd10d8 .
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8
rector: arrrrr
2025-01-07 14:52:08 +01:00
Andras Bacsai
5967d70713
Refactor cleanup:database command signature to include optional --keep-days parameter
2024-11-01 23:52:43 +01:00
Lucas Michot
8e1444eaa7
Get rid of many useless blank lines
2024-10-31 17:44:01 +01:00
Andras Bacsai
e4c3d61b76
fixes
2024-08-07 09:50:29 +02:00
Andras Bacsai
fd855847ff
refactor: Adjust keep_days in CleanupDatabase.php based on environment
2024-08-01 09:07:54 +02:00
Andras Bacsai
35dbced3c5
refactor: Update CleanupDatabase.php to adjust keep_days based on environment
2024-08-01 08:52:58 +02:00
Thijmen
d86274cc37
Fix styling
2024-06-10 20:43:34 +00:00
Andras Bacsai
a8417aca16
cloud: run cleanup every day
2024-03-26 11:17:48 +01:00
Andras Bacsai
b3d15f91e4
Remove skip(10) from activity_log and webhooks cleanup
2024-03-12 10:58:31 +01:00
Andras Bacsai
85c36df2a3
Refactor database cleanup queries to keep the last 10 entries
2024-03-12 10:58:28 +01:00
Andras Bacsai
6ef79f5213
Refactor database cleanup command to include dry-run mode
2024-03-12 10:57:07 +01:00
Andras Bacsai
b8b76dfa40
Refactor CleanupQueue to CleanupDatabase
2024-02-23 21:05:48 +01:00
Andras Bacsai
55dd1ab0a1
Update cleanup script and version numbers
2024-02-23 14:39:52 +01:00