mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 23:45:21 +02:00
add new test user
This commit is contained in:
parent
ea513e642b
commit
22ff1f3ef5
1 changed files with 13 additions and 0 deletions
|
@ -52,6 +52,19 @@ async function main() {
|
|||
},
|
||||
update: {},
|
||||
}),
|
||||
prisma.authUser.upsert({
|
||||
where: {
|
||||
id: 'test_f5ec79b4-8c49-4015-bc37-f2758923ef38',
|
||||
},
|
||||
create: {
|
||||
id: 'test_f5ec79b4-8c49-4015-bc37-f2758923ef38',
|
||||
firstName: 'Karan',
|
||||
lastName: 'Handa',
|
||||
email: 'test@maybe.com',
|
||||
password: hashedPassword,
|
||||
},
|
||||
update: {},
|
||||
}),
|
||||
// create institution linked to provider institutions
|
||||
...institutions.map(({ id, name, providers }) =>
|
||||
prisma.institution.upsert({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue