diff options
Diffstat (limited to 'db/schema')
| -rw-r--r-- | db/schema/pq.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/db/schema/pq.ts b/db/schema/pq.ts index 0bc720f6..56f2cc40 100644 --- a/db/schema/pq.ts +++ b/db/schema/pq.ts @@ -143,15 +143,6 @@ export const vendorPQSubmissions = pgTable("vendor_pq_submissions", { createdAt: timestamp("created_at").defaultNow().notNull(), updatedAt: timestamp("updated_at").defaultNow().notNull(), -}, (table) => { - return { - // 협력업체별로 일반 PQ는 하나만, 프로젝트 PQ는 프로젝트당 하나만 - uniqueConstraint: uniqueIndex("unique_pq_submission").on( - table.vendorId, - table.projectId, - table.type - ), - }; }); // 기존 vendorPqCriteriaAnswers 테이블에 projectId 필드 추가 |
