Skip to content

Commit

Permalink
UPDATE tour SET image_url=NULL WHERE image_url='null';
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheppner committed Dec 14, 2024
1 parent a3f0278 commit a1ae9f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jobs/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,8 @@ export async function syncTours(){
bulk_insert_tours(result[0]);
}
}

await knex.raw(`UPDATE tour SET image_url=NULL WHERE image_url='null';`);
}


Expand Down

0 comments on commit a1ae9f2

Please sign in to comment.