Skip to content

Commit

Permalink
added index on barcode.country, fixes #74
Browse files Browse the repository at this point in the history
  • Loading branch information
rvosa committed Jan 16, 2024
1 parent 87f77d8 commit 96b3f11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflow/scripts/map_opentol.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def postprocess_db(database):
cursor.execute("""CREATE INDEX IF NOT EXISTS country_idx ON barcode (country)""")
cursor.execute("""CREATE INDEX IF NOT EXISTS nucraw_idx ON barcode (nucraw)""")
cursor.execute("""CREATE INDEX IF NOT EXISTS processid_idx ON barcode (processid)""")
cursor.execute("""CREATE INDEX IF NOT EXISTS country_idx ON barcode (country)""")
conn.commit()
conn.close()

Expand Down

0 comments on commit 96b3f11

Please sign in to comment.