Blank team remove script + prevent Closes #1712

This commit is contained in:
Kalle
2024-04-07 14:23:45 +03:00
parent d852327b62
commit d67541fcb2
4 changed files with 117 additions and 103 deletions

View File

@@ -0,0 +1,7 @@
/* eslint-disable no-console */
import "dotenv/config";
import { sql } from "~/db/sql";
sql.prepare(`delete from "AllTeam" where "customUrl" = ''`).run();
console.log(`Done deleting empty team`);