init user edit,
This commit is contained in:
@@ -8,8 +8,8 @@ async function user() {
|
||||
create: {
|
||||
email: 'alice@prisma.io',
|
||||
name: 'Alice',
|
||||
password: 'Aa12345678'
|
||||
}
|
||||
password: 'Aa12345678',
|
||||
},
|
||||
});
|
||||
|
||||
const bob = await prisma.user.upsert({
|
||||
@@ -18,8 +18,8 @@ async function user() {
|
||||
create: {
|
||||
email: 'bob@prisma.io',
|
||||
name: 'Bob',
|
||||
password: 'Aa12345678'
|
||||
}
|
||||
password: 'Aa12345678',
|
||||
},
|
||||
});
|
||||
console.log('seed user done');
|
||||
}
|
||||
|
Reference in New Issue
Block a user