added data table

This commit is contained in:
2025-07-15 14:37:09 -04:00
parent 3a2b20e468
commit 049def6886
8 changed files with 299 additions and 35 deletions

View File

@@ -133,6 +133,10 @@ export const queries = {
return await prisma.user.findUnique({
where: { id },
})
}
},
async fetchAllLocations() {
return await prisma.location.findMany()
},
}