enables schema saving in db, initial refactor of db schema for revisions

This commit is contained in:
2024-09-02 03:16:10 -06:00
parent fd5e5bcc8b
commit 5b16cc60f7
9 changed files with 190 additions and 122 deletions

View File

@@ -30,7 +30,7 @@ export const { handlers, signIn, signOut, auth } = NextAuth(async () => {
let user = null;
const pwHash = await saltAndHashPassword(
credentials.password as string
credentials.password as string,
);
user = await prisma.user.findFirst({
where: {