8.6 주변 제휴업체: 위치 기반 목록/지도/필터(거리/카테고리) o
This commit is contained in:
@@ -616,3 +616,18 @@ model CouponRedemption {
|
||||
@@index([userId, createdAt])
|
||||
@@map("coupon_redemptions")
|
||||
}
|
||||
|
||||
// 제휴업체(위치 기반)
|
||||
model Partner {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
category String
|
||||
latitude Float
|
||||
longitude Float
|
||||
address String?
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@index([category])
|
||||
@@map("partners")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user