mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Purges records older than a configurable window (default 365d) once per day. Also adds a composite index on device_events(mac_address, created_on DESC) for efficient scan history queries at scale, and fixes a non-deterministic pagination order by adding id as a tiebreaker to ORDER BY. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 lines
103 B
Bash
Executable File
4 lines
103 B
Bash
Executable File
#!/bin/sh
|
|
sudo rm -f oott.db
|
|
sudo CARGO_HOME=$HOME/.cargo cargo test -- --show-output --test-threads=1
|