mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
Rename "user" column in beerPostLikes, add ERD gen
This commit is contained in:
@@ -22,7 +22,7 @@ const createNewBeerPostLikes = async ({
|
||||
DBClient.instance.beerPostLike.create({
|
||||
data: {
|
||||
beerPost: { connect: { id: beerPost.id } },
|
||||
user: { connect: { id: user.id } },
|
||||
likedBy: { connect: { id: user.id } },
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user