Skip to content

Commit

Permalink
Index on combined_key
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jul 23, 2020
1 parent 7b32e89 commit f291711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def load_economist_data(db, economist_base):
table.create_index(["day"], if_not_exists=True)
table.create_index(["province_or_state"], if_not_exists=True)
table.create_index(["country_or_region"], if_not_exists=True)
table.create_index(["combined_key"], if_not_exists=True)
add_missing_latitude_longitude(db)

# Add a view with the old name
Expand Down

0 comments on commit f291711

Please sign in to comment.