From 97f9115245bb2fc4a65acb4d1046af1be663ecca Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sat, 8 Oct 2022 10:44:12 +0300 Subject: [PATCH] Remove old script --- scripts/remove-bad-custom-urls.ts | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 scripts/remove-bad-custom-urls.ts diff --git a/scripts/remove-bad-custom-urls.ts b/scripts/remove-bad-custom-urls.ts deleted file mode 100644 index dc5cba78f..000000000 --- a/scripts/remove-bad-custom-urls.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* eslint-disable no-console */ -import "dotenv/config"; -import { sql } from "~/db/sql"; - -sql.prepare( - `update "User" set "customUrl" = NULL where "customUrl" like '%/%'` -); - -console.log("Done");