feat(traffic_log): add index on timestamp column and create down migration

This commit is contained in:
Chang lue Tsen 2025-10-20 10:17:56 -04:00
parent a15e08d8f3
commit aa5e472184
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
ALTER TABLE traffic_log DROP INDEX idx_timestamp;

View File

@ -0,0 +1 @@
ALTER TABLE traffic_log ADD INDEX idx_timestamp (timestamp);