Commit b9924465 by mercymodest

feat: add SQL index on device_id and update_time for t_user_calendar_categories

parent b10302ee
# MongoDB 索引
# MongoDB 索引
......@@ -2,4 +2,9 @@
db.events.createIndex(
{ "deviceId": 1, "updatedAt": -1 },
{ name: "idx_deviceId_updatedAt", background: true }
)
\ No newline at end of file
)
# SQL 索引
create index idx_device_id_update_time
on t_user_calendar_categories (device_id, update_time);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment