diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-14 05:28:01 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-14 05:28:01 +0000 |
| commit | 675b4e3d8ffcb57a041db285417d81e61284d900 (patch) | |
| tree | 254f3d6a6c0ce39ae8fba35618f3810e08945f19 /db/schema/contract.ts | |
| parent | 39f12cb19f29cbc5568057e154e6adf4789ae736 (diff) | |
(대표님) RFQ-last, tbe-last, 기본계약 템플릿 내 견적,입찰,계약 추가, env.dev NAS_PATH 수정
Diffstat (limited to 'db/schema/contract.ts')
| -rw-r--r-- | db/schema/contract.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema/contract.ts b/db/schema/contract.ts index 4790d717..34f49c96 100644 --- a/db/schema/contract.ts +++ b/db/schema/contract.ts @@ -21,8 +21,8 @@ export const contracts = pgTable("contracts", { id: integer("id").primaryKey().generatedAlwaysAsIdentity(), // 프로젝트와 협력업체 참조 + // .notNull() 제외(0912 구매 프로젝트 id 없는 계약 case 존재-최겸) projectId: integer("project_id") - .notNull() .references(() => projects.id, { onDelete: "cascade" }), vendorId: integer("vendor_id") |
