summaryrefslogtreecommitdiff
path: root/db/schema/techVendors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema/techVendors.ts')
-rw-r--r--db/schema/techVendors.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema/techVendors.ts b/db/schema/techVendors.ts
index b5624b85..e34d3e60 100644
--- a/db/schema/techVendors.ts
+++ b/db/schema/techVendors.ts
@@ -55,7 +55,7 @@ export const techVendorContacts = pgTable("tech_vendor_contacts", {
contactPosition: varchar("contact_position", { length: 100 }),
contactEmail: varchar("contact_email", { length: 255 }).notNull(),
contactPhone: varchar("contact_phone", { length: 50 }),
- country: varchar("country", { length: 100 }),
+ contactCountry: varchar("contact_country", { length: 100 }),
isPrimary: boolean("is_primary").default(false).notNull(),
createdAt: timestamp("created_at").defaultNow().notNull(),
updatedAt: timestamp("updated_at").defaultNow().notNull(),
@@ -68,7 +68,7 @@ export const techVendorPossibleItems = pgTable("tech_vendor_possible_items", {
vendorCode: varchar("vendor_code", { length: 100 }), // 검색/필터용 중복 저장
vendorEmail: varchar("vendor_email", { length: 255 }), // 검색/필터용 중복 저장
- // 아이템 정보 (필수: itemCode, 나머지는 nullable)
+ // 아이템 정보 (itemCode도 nullable로 변경 - 해양 HULL 등에서 없을 수 있음)
itemCode: varchar("item_code", { length: 100 }).notNull(),
workType: varchar("work_type", { length: 100 }), // 공종 (nullable)
shipTypes: varchar("ship_types", { length: 255 }), // 선종 (nullable)