mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +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: {},
|
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
|
// create institution linked to provider institutions
|
||||||
...institutions.map(({ id, name, providers }) =>
|
...institutions.map(({ id, name, providers }) =>
|
||||||
prisma.institution.upsert({
|
prisma.institution.upsert({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue