diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-21 06:57:36 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-21 06:57:36 +0000 |
| commit | 02b1cf005cf3e1df64183d20ba42930eb2767a9f (patch) | |
| tree | e932c54d5260b0e6fda2b46be2a6ba1c3ee30434 /db/schema/vendors.ts | |
| parent | d78378ecd7ceede1429359f8058c7a99ac34b1b7 (diff) | |
(대표님, 최겸) 설계메뉴추가, 작업사항 업데이트
설계메뉴 - 문서관리
설계메뉴 - 벤더 데이터
gtc 메뉴 업데이트
정보시스템 - 메뉴리스트 및 정보 업데이트
파일 라우트 업데이트
엑셀임포트 개선
기본계약 개선
벤더 가입과정 변경 및 개선
벤더 기본정보 - pq
돌체 오류 수정 및 개선
벤더 로그인 과정 이메일 오류 수정
Diffstat (limited to 'db/schema/vendors.ts')
| -rw-r--r-- | db/schema/vendors.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/schema/vendors.ts b/db/schema/vendors.ts index e5773fc1..d53fb674 100644 --- a/db/schema/vendors.ts +++ b/db/schema/vendors.ts @@ -24,6 +24,8 @@ export const vendors = pgTable("vendors", { //사업자번호이고, 법인등록번호는 corporateRegistrationNumber taxId: varchar("tax_id", { length: 100 }).notNull(), address: text("address"), + addressDetail: text("address_detail"), + postalCode: varchar("postal_code", { length: 20 }), country: varchar("country", { length: 100 }), phone: varchar("phone", { length: 50 }), email: varchar("email", { length: 255 }), @@ -242,6 +244,8 @@ export const vendorDetailView = pgView("vendor_detail_view").as((qb) => { vendorCode: vendors.vendorCode, taxId: vendors.taxId, address: vendors.address, + addressDetail: vendors.addressDetail, + postalCode: vendors.postalCode, businessSize:vendors.businessSize, country: vendors.country, phone: vendors.phone, @@ -421,6 +425,8 @@ export const vendorsWithTypesView = pgView("vendors_with_types").as((qb) => { vendorCode: sql<string>`${vendors.vendorCode}`.as("vendor_code"), taxId: sql<string>`${vendors.taxId}`.as("tax_id"), address: sql<string>`${vendors.address}`.as("address"), + addressDetail: sql<string>`${vendors.addressDetail}`.as("address_detail"), + postalCode: sql<string>`${vendors.postalCode}`.as("postal_code"), country: sql<string>`${vendors.country}`.as("country"), phone: sql<string>`${vendors.phone}`.as("phone"), email: sql<string>`${vendors.email}`.as("email"), |
