Skip to content

Commit

Permalink
Removed COLLATE NOCASE to fix issue etetoolkit#469
Browse files Browse the repository at this point in the history
  • Loading branch information
apetkau committed Aug 27, 2020
1 parent 61e0390 commit aca99b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ete3/ncbi_taxonomy/ncbiquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def upload_data(dbfile):
DROP TABLE IF EXISTS merged;
CREATE TABLE stats (version INT PRIMARY KEY);
CREATE TABLE species (taxid INT PRIMARY KEY, parent INT, spname VARCHAR(50) COLLATE NOCASE, common VARCHAR(50) COLLATE NOCASE, rank VARCHAR(50), track TEXT);
CREATE TABLE synonym (taxid INT,spname VARCHAR(50) COLLATE NOCASE, PRIMARY KEY (spname, taxid));
CREATE TABLE synonym (taxid INT,spname VARCHAR(50), PRIMARY KEY (spname, taxid));
CREATE TABLE merged (taxid_old INT, taxid_new INT);
CREATE INDEX spname1 ON species (spname COLLATE NOCASE);
CREATE INDEX spname2 ON synonym (spname COLLATE NOCASE);
Expand Down

0 comments on commit aca99b3

Please sign in to comment.