diff --git a/.dockerignore b/.dockerignore index 4db9a0bb0..0a0e2e238 100644 --- a/.dockerignore +++ b/.dockerignore @@ -34,4 +34,5 @@ build.ts tsconfig.json Dockerfile* drizzle.config.ts -allowedDevOrigins.json \ No newline at end of file +allowedDevOrigins.json +scratch/ diff --git a/server/setup/scriptsSqlite/1.19.0.ts b/server/setup/scriptsSqlite/1.19.0.ts index 809340d94..c69356cae 100644 --- a/server/setup/scriptsSqlite/1.19.0.ts +++ b/server/setup/scriptsSqlite/1.19.0.ts @@ -228,7 +228,7 @@ export default async function migration() { ).run(); db.prepare( ` - UPDATE 'siteResources' SET 'destination2' = 'destination'; + UPDATE 'siteResources' SET "destination2" = "destination"; ` ).run(); db.prepare( @@ -349,9 +349,9 @@ export default async function migration() { db.prepare( ` UPDATE 'targets' - SET 'mode' = ( - SELECT 'mode' FROM 'resources' - WHERE 'resources'.'resourceId' = 'targets'.'resourceId' + SET "mode" = ( + SELECT "mode" FROM 'resources' + WHERE "resources"."resourceId" = "targets"."resourceId" ); ` ).run();