Skip to content

Commit

Permalink
migration. default user email fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
pashidlos committed May 30, 2020
1 parent 1b0ddd1 commit e3cb2e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prisma/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vrt-migration",
"version": "1.1.0",
"version": "1.1.3",
"description": "",
"author": "",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions prisma/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import uuidAPIKey from 'uuid-apikey';
import { genSalt, hash } from 'bcryptjs';

const prisma = new PrismaClient({
log: ['query'],
// log: ['query'],
});

async function seed() {
Expand All @@ -21,7 +21,7 @@ async function createDefaultUser() {
const userList = await prisma.user.findMany();
console.log(userList);
if (userList.length === 0) {
const defaultEmail = 'visual-regression-tracker1@example.com';
const defaultEmail = 'visual-regression-tracker@example.com';
const defaultPassword = '123456';
const salt = await genSalt(10);
await prisma.user
Expand Down

0 comments on commit e3cb2e7

Please sign in to comment.