Skip to content

Commit

Permalink
"date desc" index on ny_times_us_counties, refs #27
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored May 29, 2021
1 parent 8880895 commit 9130ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def load_economist_data(db, economist_base):
db["ny_times_us_counties"].create_index(["state"])
db["ny_times_us_counties"].create_index(["county"])
db["ny_times_us_counties"].create_index(["fips"])
db["ny_times_us_counties"].create_index(["date"])
db["ny_times_us_counties"].create_index(["date desc"])

# And the US census data
if "us_census_state_populations_2019" not in db.table_names():
Expand Down

0 comments on commit 9130ab1

Please sign in to comment.