Skip to content

Commit 5fd3ffc

Browse files
authored
Merge pull request #2 from codeit-moving/dev
Dev - > main
2 parents 9d3ab74 + bf90e7a commit 5fd3ffc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

prisma/schema.prisma

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ model Customer {
3838
id Int @id @unique @default(autoincrement()) // 자동 증가
3939
imageUrl String
4040
services Int[] // [1, 2]
41-
regions Int[] // 리전으로 변경
41+
regions Int[] // 리전으로 변경 // 지역
4242
createAt DateTime @default(now())
4343
updateAt DateTime @updatedAt
4444
user User @relation(fields: [userId], references: [id])
@@ -92,13 +92,13 @@ model Region {
9292
updateAt DateTime @updatedAt
9393
}
9494

95-
// 이사정보 -> 고객이 등록
95+
// 이사정보 -> 고객이 등록 Requset
9696
model MovingInfo {
9797
id Int @id @unique @default(autoincrement()) //자동증가
9898
serviceType Int //서비스 테이블의 코드값 예 ) 1
9999
movingDate DateTime //이사하는 날
100-
startAddress String //출발지
101-
endAddress String //도착지
100+
pickupAddress String //출발지 pickupAddress
101+
dropOffAddress String //도착지 dropoffAddress
102102
requestCount Int @default(0) //견적서 받은 수 예 0~5
103103
designateCount Int @default(0) //지정 견적 보낸 수 예 0~3
104104
isDesignated Boolean @default(false) //지정유무

0 commit comments

Comments
 (0)