From f5816097717c08f9356fbae6e868ebded1567f49 Mon Sep 17 00:00:00 2001 From: Simon Rose Date: Thu, 22 Aug 2024 11:10:05 +0100 Subject: [PATCH] fix: remove seed lessons script --- packages/core/src/scripts/seedLessons.ts | 25 ------------------------ 1 file changed, 25 deletions(-) delete mode 100644 packages/core/src/scripts/seedLessons.ts diff --git a/packages/core/src/scripts/seedLessons.ts b/packages/core/src/scripts/seedLessons.ts deleted file mode 100644 index 9471c5271..000000000 --- a/packages/core/src/scripts/seedLessons.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { prisma } from "@oakai/db"; - -//import seedLessons from "@oakai/db/prisma/seed/lessons"; - -const main = async () => { - try { - //await seedLessons(); - console.log("Stubbed"); - } catch (e) { - console.error(e); - process.exit(1); - } finally { - await prisma.$disconnect(); - } -}; - -main() - .then(async () => { - await prisma.$disconnect(); - }) - .catch(async (e) => { - console.error(e); - await prisma.$disconnect(); - process.exit(1); - });