Fixed clear()

This commit is contained in:
Maurício Szabo 2024-02-11 01:15:38 -03:00
parent a264906a94
commit e38dedb33f

View File

@ -73,7 +73,7 @@ module.exports = class SQLStateStore {
clear() {
return this.dbPromise.then(db =>
getOne(db, `DROP TABLE ${this.tableName}`)
getOne(db, `DELETE FROM ${this.tableName}`)
);
}