From 2538f2bea960c0a88213eaf7d8fea3d0d55d4a11 Mon Sep 17 00:00:00 2001 From: ahmedriad1 Date: Sun, 25 Feb 2024 19:48:51 +0200 Subject: [PATCH] update script --- .github/workflows/seed.yml | 2 +- package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/seed.yml b/.github/workflows/seed.yml index eb973058..69ee5e79 100644 --- a/.github/workflows/seed.yml +++ b/.github/workflows/seed.yml @@ -23,4 +23,4 @@ jobs: uses: ./tooling/github/setup - name: Run Seed Script - run: pnpm run db:seed:ci \ No newline at end of file + run: pnpm run db:seed:versions \ No newline at end of file diff --git a/package.json b/package.json index 858ddd91..cf92a593 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "db:push": "drizzle-kit push:mysql", "db:drop": "drizzle-kit drop", "db:seed": "dotenv npx tsx ./scripts/seed.ts", - "db:seed:ci": "npx tsx ./scripts/seed.ts", + "db:seed:versions": "npx tsx ./scripts/seed/version.ts", + "db:seed:authors": "npx tsx ./scripts/seed/author.ts", + "db:seed:books": "npx tsx ./scripts/seed/book.ts", "dev": "next dev", "lint": "next lint", "start": "next start",