@@ -270,7 +272,7 @@ export class DBReader extends Base {
asyncgetAllCardsFromDatabase(dbPath:string){
try{
constdb=awaitthis.openDatabase(dbPath);
constdb=awaitthis.openDatabase(dbPath,true);
constcodes:number[]=(awaitdb.all('SELECT id FROM datas where type & 0x4000 = 0 and not exists (select 1 from datas orig where orig.id = datas.alias and orig.id < datas.id and orig.id >= (datas.id - 20))')).map(m=>m.id);