We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5537810 commit 5b92e5cCopy full SHA for 5b92e5c
lib/stop_times.js
@@ -108,6 +108,9 @@ AND "${opt.schema}".stop_times.stop_sequence = t.stop_sequence;
108
109
CREATE INDEX ON "${opt.schema}".stop_times (stop_sequence_consec);
110
CREATE INDEX ON "${opt.schema}".stop_times (trip_id, stop_sequence_consec);
111
+CREATE INDEX ON "${opt.schema}".stop_times (arrival_time DESC NULLS LAST);
112
+CREATE INDEX ON "${opt.schema}".stop_times (departure_time DESC NULLS LAST);
113
+-- todo: are these two necessary?
114
CREATE INDEX ON "${opt.schema}".stop_times (arrival_time);
115
CREATE INDEX ON "${opt.schema}".stop_times (departure_time);
116
0 commit comments