mirror of
https://github.com/seiichiro0185/sailotp.git
synced 2024-12-22 03:32:30 +00:00
Set default DB version to 4.0
This commit is contained in:
parent
c7303e3dc4
commit
e3fd514d55
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function getDB() {
|
||||||
|
|
||||||
if (db.version == "") {
|
if (db.version == "") {
|
||||||
// Initialize an empty DB, Create the Table
|
// Initialize an empty DB, Create the Table
|
||||||
db.changeVersion("", "3",
|
db.changeVersion("", "4",
|
||||||
function(tx) {
|
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);");
|
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);");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue