From 1bb4f604e97c5b968c46aedf0f809e8ebb26920a Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 18 Aug 2026 09:52:24 -0400 Subject: [PATCH] Fix select from missing new columns --- server/setup/scriptsSqlite/1.22.0.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/setup/scriptsSqlite/1.22.0.ts b/server/setup/scriptsSqlite/1.22.0.ts index 853693eee..736d8682f 100644 --- a/server/setup/scriptsSqlite/1.22.0.ts +++ b/server/setup/scriptsSqlite/1.22.0.ts @@ -384,7 +384,7 @@ export default async function migration() { ).run(); db.prepare( - `INSERT INTO '__new_targets'("targetId", "resourceId", "providerId", "siteId", "ip", "method", "port", "internalPort", "enabled", "path", "pathMatchType", "rewritePath", "rewritePathType", "priority", "mode", "authToken") SELECT "targetId", "resourceId", "providerId", "siteId", "ip", "method", "port", "internalPort", "enabled", "path", "pathMatchType", "rewritePath", "rewritePathType", "priority", "mode", "authToken" FROM 'targets';` + `INSERT INTO '__new_targets'("targetId", "resourceId", "siteId", "ip", "method", "port", "internalPort", "enabled", "path", "pathMatchType", "rewritePath", "rewritePathType", "priority", "mode", "authToken") SELECT "targetId", "resourceId", "siteId", "ip", "method", "port", "internalPort", "enabled", "path", "pathMatchType", "rewritePath", "rewritePathType", "priority", "mode", "authToken" FROM 'targets';` ).run(); db.prepare(`DROP TABLE 'targets';`).run(); db.prepare(