From 65b367c630f630ccadb114a55956d3fe26e00a1d Mon Sep 17 00:00:00 2001 From: Juan Gilsanz Polo Date: Tue, 4 Oct 2022 16:26:58 +0200 Subject: [PATCH] Fixed db issue --- lib/services/database.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/database.dart b/lib/services/database.dart index d88ef5b4..e7442b8a 100644 --- a/lib/services/database.dart +++ b/lib/services/database.dart @@ -32,7 +32,7 @@ Future> loadDb() async { onCreate: (Database db, int version) async { await db.execute("CREATE TABLE servers (id TEXT PRIMARY KEY, name TEXT, connectionMethod TEXT, domain TEXT, path TEXT, port INTEGER, user TEXT, password TEXT, defaultServer INTEGER, authToken TEXT)"); await db.execute("CREATE TABLE appConfig (theme NUMERIC, overrideSslCheck NUMERIC, hideZeroValues NUMERIC)"); - await db.execute("INSERT INTO appConfig (theme, overrideSslCheck) VALUES (0, 0, 0)"); + await db.execute("INSERT INTO appConfig (theme, overrideSslCheck, hideZeroValues) VALUES (0, 0, 0)"); }, onUpgrade: (Database db, int oldVersion, int newVersion) async { if (oldVersion == 1) {