Skip to content

Commit

Permalink
fix seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
masterkain committed May 24, 2023
1 parent 00e5bbf commit 9eb48ba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"prismag": "prisma generate",
"prismap": "prisma db pull",
"prismas": "prisma db seed",
"test": "jest --watchAll",
"postinstall": "prisma generate",
"db:migrate": "prisma migrate deploy"
"db:generate": "prisma generate",
"db:pull": "prisma db pull",
"db:seed": "prisma db seed",
"db:migrate": "prisma migrate deploy",
"postinstall": "prisma generate"
},
"dependencies": {
"@airbrake/browser": "^2.1.8",
Expand Down
4 changes: 2 additions & 2 deletions prisma/seed.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import generateUniqueProjectKey from '@/lib/keygen'
import { PrismaClient } from '@prisma/client'
import generateUniqueProjectKey from '../lib/keygen'

const prisma = new PrismaClient()

async function main() {
const numberOfProjects = 10
const numberOfProjects = 3
const numberOfNotices = 5
const createdProjects = []

Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"name": "next"
}
],
"types": ["react/experimental"],
"paths": {
"@/*": ["./*"]
}
Expand Down

0 comments on commit 9eb48ba

Please sign in to comment.