1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-12-21 11:12:29 +00:00

Set default DB version to 4.0

This commit is contained in:
Andrey Skvortsov 2022-11-14 19:33:02 +03:00
parent c7303e3dc4
commit e3fd514d55

View file

@ -36,7 +36,7 @@ function getDB() {
if (db.version == "") {
// Initialize an empty DB, Create the Table
db.changeVersion("", "3",
db.changeVersion("", "4",
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, len INTEGER default 6, diff INTEGER default 0);");
});