8.6 주변 제휴업체: 위치 기반 목록/지도/필터(거리/카테고리) o
This commit is contained in:
@@ -202,6 +202,16 @@ async function main() {
|
||||
});
|
||||
|
||||
await seedPolicies();
|
||||
|
||||
// 제휴업체 예시 데이터
|
||||
const partners = [
|
||||
{ name: "힐링마사지", category: "spa", latitude: 37.5665, longitude: 126.9780, address: "서울 중구" },
|
||||
{ name: "웰빙테라피", category: "spa", latitude: 37.5700, longitude: 126.9769, address: "서울 종로구" },
|
||||
{ name: "굿짐", category: "gym", latitude: 37.5600, longitude: 126.9820, address: "서울 중구" },
|
||||
];
|
||||
for (const p of partners) {
|
||||
await prisma.partner.upsert({ where: { name: p.name }, update: p, create: p });
|
||||
}
|
||||
}
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user