Why 2 IDs (id and sid) are required?
#137
Unanswered
TokugawaTakeshi
asked this question in
Q&A
Replies: 2 comments 2 replies
|
Good point. Some users have wanted the ability for |
2 replies
|
There is the boolean option: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Here is the general definition of
SessionPrisma model from the README.md:As far as I experimentally knew
dbRecordIdIsSessionIdoption does not merge theidandsidto single column, it just fills theidandsidcolumns with the same value. Why it is impossible to use only 1 column? From the viewpoint of Prisma, the following model definition is correct (thesidwill be used as primary key).Alternatively, the
idcan be used as the session ID:All reactions