mirror of
https://github.com/fosrl/pangolin.git
synced 2026-06-13 10:56:56 +00:00
@@ -349,10 +349,10 @@ export default async function migration() {
|
||||
db.prepare(
|
||||
`
|
||||
UPDATE 'targets'
|
||||
SET "mode" = (
|
||||
SET "mode" = COALESCE((
|
||||
SELECT "mode" FROM 'resources'
|
||||
WHERE "resources"."resourceId" = "targets"."resourceId"
|
||||
);
|
||||
), 'http');
|
||||
`
|
||||
).run();
|
||||
db.prepare(
|
||||
|
||||
Reference in New Issue
Block a user