Skip to content

Commit

Permalink
db seed, import prisma client from singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
lhapaipai committed Nov 14, 2024
1 parent 6c85fcb commit 393fa72
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions prisma/seed.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import type { Interval } from '#app/modules/stripe/plans'
import { PrismaClient } from '@prisma/client'
import { stripe } from '#app/modules/stripe/stripe.server'
import { PRICING_PLANS } from '#app/modules/stripe/plans'

const prisma = new PrismaClient()
prisma.$connect()
import { prisma } from '#app/utils/db.server.ts'

async function seed() {
/**
Expand Down

0 comments on commit 393fa72

Please sign in to comment.