You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: more than one row returned by a subquery used as an expression
This was caused because this subquery was returning more than a single row select value from updoot where "userId" = ${userId} and "postId" = p.id) "voteStatus
Solved by clearing out my updoots table with Updoot.delete({}) before the migrations
The text was updated successfully, but these errors were encountered:
I got this error when doing the updoot join table
ERROR: more than one row returned by a subquery used as an expression
This was caused because this subquery was returning more than a single row
select value from updoot where "userId" = ${userId} and "postId" = p.id) "voteStatus
Solved by clearing out my updoots table with
Updoot.delete({})
before the migrationsThe text was updated successfully, but these errors were encountered: