Skip to content

Commit fba51b9

Browse files
committed
fix seed script
1 parent 7d1a92b commit fba51b9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

prisma/seed.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ async function seed() {
116116
name: 'Kody',
117117
password: { create: createPassword('kodylovesyou') },
118118
connections: {
119-
create: { providerName: 'github', providerId: githubUser.profile.id },
119+
create: {
120+
providerName: 'github',
121+
providerId: String(githubUser.profile.id),
122+
},
120123
},
121124
roles: { connect: [{ name: 'admin' }, { name: 'user' }] },
122125
},

0 commit comments

Comments
 (0)