Skip to content

Commit e3cb2e7

Browse files
committed
migration. default user email fixed
1 parent 1b0ddd1 commit e3cb2e7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

prisma/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vrt-migration",
3-
"version": "1.1.0",
3+
"version": "1.1.3",
44
"description": "",
55
"author": "",
66
"private": true,

prisma/seed.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import uuidAPIKey from 'uuid-apikey';
33
import { genSalt, hash } from 'bcryptjs';
44

55
const prisma = new PrismaClient({
6-
log: ['query'],
6+
// log: ['query'],
77
});
88

99
async function seed() {
@@ -21,7 +21,7 @@ async function createDefaultUser() {
2121
const userList = await prisma.user.findMany();
2222
console.log(userList);
2323
if (userList.length === 0) {
24-
const defaultEmail = 'visual-regression-tracker1@example.com';
24+
const defaultEmail = 'visual-regression-tracker@example.com';
2525
const defaultPassword = '123456';
2626
const salt = await genSalt(10);
2727
await prisma.user

0 commit comments

Comments
 (0)