mirror of
https://github.com/seiichiro0185/sailotp.git
synced 2024-12-22 03:32:30 +00:00
Fix for wrong DB-Version on initializing DB
This commit is contained in:
parent
83fc6ec7d1
commit
e5ff3b4a35
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function getDB() {
|
|||
|
||||
if (db.version == "") {
|
||||
// Initialize an empty DB, Create the Table
|
||||
db.changeVersion("", "2",
|
||||
db.changeVersion("", "3",
|
||||
function(tx) {
|
||||
tx.executeSql("CREATE TABLE IF NOT EXISTS OTPStorage(title TEXT, secret TEXT, type TEXT DEFAULT 'TOPT', counter INTEGER DEFAULT 0, fav INTEGER DEFAULT 0, sort INTEGER DEFAULT 0);");
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue