diff options
Diffstat (limited to 'db/seeds/vendorSeed.ts')
| -rw-r--r-- | db/seeds/vendorSeed.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/seeds/vendorSeed.ts b/db/seeds/vendorSeed.ts index bb659562..4fca98d8 100644 --- a/db/seeds/vendorSeed.ts +++ b/db/seeds/vendorSeed.ts @@ -38,7 +38,7 @@ async function seedVendors() { const [insertedVendor] = await db.insert(vendors).values(newVendor).returning(); const vendorId = insertedVendor.id; - // 4) Contacts 생성 (각 벤더당 1~3명) + // 4) Contacts 생성 (각 협력업체당 1~3명) const contactCount = faker.number.int({ min: 1, max: 3 }); for (let j = 0; j < contactCount; j++) { const newContact = { @@ -52,7 +52,7 @@ async function seedVendors() { await db.insert(vendorContacts).values(newContact); } - // 5) Possible Items 생성 (각 벤더당 2~5개) + // 5) Possible Items 생성 (각 협력업체당 2~5개) // 여기서 "items" 테이블에서 랜덤 pick → vendorPossibleItems에 참조 const itemCount = faker.number.int({ min: 2, max: 5 }); |
