mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-09 17:18:31 +00:00
parent
935593885a
commit
a8ca28acb2
1 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue