Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs]: Database integration and data model names enforcement #1590

Closed
Phreeshad opened this issue Jun 6, 2024 · 0 comments · Fixed by #1593
Closed

[Docs]: Database integration and data model names enforcement #1590

Phreeshad opened this issue Jun 6, 2024 · 0 comments · Fixed by #1593
Labels
documentation Improvements or additions to documentation

Comments

@Phreeshad
Copy link

Description

In the documentation, and Prisma in this case, it is claimed that no names are enforced except for consistency in user declaration that is a Prisma related stuff, and in the adapter, we can see methods implying the necessity of this consistency:

async updateSessionExpiration(sessionId, expiresAt) {
        await this.sessionModel.update({
            where: {
                id: sessionId
            },
            data: {
                expiresAt
            }
        });
    }

Providing more comprehensive documentation of these basic topics could be a lot helpful, if the expiresAt and similar attributes should be consistent in schema declarations.

@Phreeshad Phreeshad added the documentation Improvements or additions to documentation label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant