Skip to content

Consolidate Prisma initialization within seed script#12

Merged
cpojer merged 1 commit into
nkzw-tech:mainfrom
yangshun:prisma
Oct 27, 2025
Merged

Consolidate Prisma initialization within seed script#12
cpojer merged 1 commit into
nkzw-tech:mainfrom
yangshun:prisma

Conversation

@yangshun

@yangshun yangshun commented Oct 26, 2025

Copy link
Copy Markdown
Contributor

Since prisma/prisma.tsx serves to be the initializer for PrismaClient, the seed file should use it too so that seeding uses the same initialization settings (e.g. if an adapter is to be used in the serverless deployment case).

@yangshun yangshun changed the title Consolidate Prisma initialization Consolidate Prisma initialization within seed script Oct 26, 2025

@cpojer cpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@cpojer
cpojer merged commit b95a54b into nkzw-tech:main Oct 27, 2025
1 check passed
@yangshun
yangshun deleted the prisma branch October 27, 2025 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants