aboutsummaryrefslogtreecommitdiff
path: root/data/make_time_index.py
diff options
context:
space:
mode:
Diffstat (limited to 'data/make_time_index.py')
-rwxr-xr-xdata/make_time_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/make_time_index.py b/data/make_time_index.py
index c51d075..c2838e0 100755
--- a/data/make_time_index.py
+++ b/data/make_time_index.py
@@ -39,7 +39,7 @@ def make_valid(outpath):
c.executemany('INSERT INTO trip_times(trip, begin, end) VALUES(?, ?, ?)', times)
timedb.commit()
print "Creating index..."
- c.execute('''CREATE INDEX trip_time_index ON trip_times (begin, end)''')
+ c.execute('''CREATE INDEX trip_begin_index ON trip_times (begin)''')
if __name__ == '__main__':