Skip to content

Commit

Permalink
Fix missing chart bug when loading cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Mar 1, 2018
1 parent 5eb0981 commit a9302bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SongCacheIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ void SongCacheIndex::CreateDBTables()
"TIMINGDATAID INTEGER, DISPLAYBPMMIN FLOAT, DISPLAYBPMMAX FLOAT, STEPFILENAME TEXT, SONGID INTEGER, "
"CONSTRAINT fk_songid FOREIGN KEY (SONGID) REFERENCES songs(ID), "
"CONSTRAINT fk_timingdataid FOREIGN KEY (TIMINGDATAID) REFERENCES timingdatas(ID), "
"CONSTRAINT unique_diffandsong UNIQUE(SONGID, DIFFICULTY))");
"CONSTRAINT unique_diff UNIQUE(SONGID, DIFFICULTY, STEPSTYPE, CHARTNAME))");
db->exec("CREATE INDEX IF NOT EXISTS idx_dirs "
"ON songs(DIR, DIRHASH)");
db->exec("CREATE INDEX IF NOT EXISTS idx_timingdatas "
Expand Down

0 comments on commit a9302bc

Please sign in to comment.