You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
db seeds not being generated using named function, sqlite, nextjs #8685
Activity
Jolg42 commentedon Aug 13, 2021
Maybe try to use the "script" approach as a workaround?
Jolg42 commentedon Aug 13, 2021
🗒️ We are planning a redesign of
db seed(currently planned to be released early September)How it will work is that a
prisma.seedproperty in the package.json of your project will be required if you want to useprisma db seed.This property is where you will be able to put any command you want to execute your seed script.
More info/details & how to try it out now in:
#8732
janpio commentedon Sep 9, 2021
The redesign of
db seedwas released with Prisma 3. Please try it, this problem should be gone.