rename all db columns
This commit is contained in:
@@ -10,3 +10,11 @@ export function getShareOverviewById(id: string) {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
export function getShareByProjectId(projectId: string) {
|
||||
return db.shareOverview.findUnique({
|
||||
where: {
|
||||
projectId,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user