수정
Some checks failed
deploy-on-main / deploy (push) Failing after 22s

This commit is contained in:
koreacomp5
2025-11-09 19:53:42 +09:00
parent 1c2222da67
commit cfbb3d50ee
12 changed files with 289 additions and 153 deletions

View File

@@ -134,7 +134,7 @@ async function createRandomUsers(count = 100) {
name,
birth,
phone,
passwordHash: hashPassword("1234"),
passwordHash: hashPassword("12341234"),
agreementTermsAt: new Date(),
authLevel: "USER",
isAdultVerified: Math.random() < 0.6,
@@ -145,7 +145,7 @@ async function createRandomUsers(count = 100) {
// 기존 사용자도 패스워드를 1234로 업데이트
await prisma.user.update({
where: { userId: user.userId },
data: { passwordHash: hashPassword("1234") },
data: { passwordHash: hashPassword("12341234") },
});
}
if (roleUser && user) {
@@ -238,7 +238,7 @@ async function upsertAdmin() {
const admin = await prisma.user.upsert({
where: { nickname: "admin" },
update: {
passwordHash: hashPassword("1234"),
passwordHash: hashPassword("12341234"),
grade: 7,
points: 1650000,
level: 200,
@@ -248,7 +248,7 @@ async function upsertAdmin() {
name: "Administrator",
birth: new Date("1990-01-01"),
phone: "010-0000-0001",
passwordHash: hashPassword("1234"),
passwordHash: hashPassword("12341234"),
agreementTermsAt: new Date(),
authLevel: "ADMIN",
grade: 7,