fix(migration): add index for traffic log on timestamp, user_id, and subscribe_id

This commit is contained in:
Chang lue Tsen
2025-09-03 07:03:37 -04:00
parent 107fe82f10
commit 949efdad34
3 changed files with 3 additions and 0 deletions
@@ -0,0 +1 @@
DROP INDEX idx_traffic_log_time_user_sub ON traffic_log;
@@ -0,0 +1 @@
CREATE INDEX idx_traffic_log_time_user_sub ON traffic_log (timestamp, user_id, subscribe_id);