summaryrefslogtreecommitdiff
path: root/db/seeds/vendorSeed.ts
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-04-28 02:13:30 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-04-28 02:13:30 +0000
commitef4c533ebacc2cdc97e518f30e9a9350004fcdfb (patch)
tree345251a3ed0f4429716fa5edaa31024d8f4cb560 /db/seeds/vendorSeed.ts
parent9ceed79cf32c896f8a998399bf1b296506b2cd4a (diff)
~20250428 작업사항
Diffstat (limited to 'db/seeds/vendorSeed.ts')
-rw-r--r--db/seeds/vendorSeed.ts4
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 });