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
#907 revealed that redis is only ever used for Session creation in the backend, where Session actually refers to an account. As the prisma model already defines an Account, we decided to remove redis and use the existing prisma Account model instead.
These fields exist in Session, if they are not crossed out they should be migrated to Account:
account: string; -> id
signedUserProfile: SignedUserProfile; -> must be read from resolver
token: string; -> deprecated since jwt
publicMessageHeadUri?: string; -> not used anywhere
createdAt: number; -> keeping this for future reference
socketId?: string; -> deprecated since socket manager
challenge?: string; deprecated since jwt
profileExtension: ProfileExtension; -> not used in backend
spamFilterRules?: unknown; -> spam filter does not exist yet, add field if necessary
The text was updated successfully, but these errors were encountered:
#907 revealed that redis is only ever used for
Session
creation in the backend, whereSession
actually refers to an account. As the prisma model already defines anAccount
, we decided to remove redis and use the existing prismaAccount
model instead.These fields exist in
Session
, if they are not crossed out they should be migrated toAccount
:account: string;-> idsignedUserProfile: SignedUserProfile;-> must be read from resolvertoken: string;-> deprecated since jwtpublicMessageHeadUri?: string;-> not used anywheresocketId?: string;-> deprecated since socket managerchallenge?: string;deprecated since jwtprofileExtension: ProfileExtension;-> not used in backendspamFilterRules?: unknown;-> spam filter does not exist yet, add field if necessaryThe text was updated successfully, but these errors were encountered: