mirror of
git://f0xx.org/ac/ac-ms-graphs
synced 2026-07-29 05:18:17 +03:00
initial
This commit is contained in:
6
sql/migrations/006_graph_sessions.sqlite.sql
Normal file
6
sql/migrations/006_graph_sessions.sqlite.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- SQLite graph_sessions indexes (table may already exist via GraphRepository::ensureSchema).
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_graph_company_time ON graph_sessions (company_id, started_at_ms);
|
||||
CREATE INDEX IF NOT EXISTS idx_graph_user_time ON graph_sessions (user_id, started_at_ms);
|
||||
CREATE INDEX IF NOT EXISTS idx_graph_started ON graph_sessions (started_at_ms);
|
||||
CREATE INDEX IF NOT EXISTS idx_graph_device ON graph_sessions (device_id);
|
||||
Reference in New Issue
Block a user